[MPlayer-dev-eng] [PATCH] dynamic font generation

Arpi arpi at thot.banki.hu
Fri Aug 23 20:39:37 CEST 2002


Hi,

> I found yet one issue. Currently, the width&height which control the scaling
> are taken from sh_video, but these are the source dimensions. I looked where
> to get the dimensions after the aplication of the filters and didn't find an
> easy way to do this, maybe putting the font initialization to
> vf_vo.c/config() ?

no you cannot get widht/height and you should not get it...
as some vo applies OSD after scaling some before scaling

anyway the draw_osd() of each vo pass teh screen width/height to the osd
rendering routine (libvo/sub.c) so you can get it from there

but it will happen only at the first rendered osd object...


A'rpi / Astral & ESP-team

--
Developer of MPlayer, the Movie Player for Linux - http://www.MPlayerHQ.hu



More information about the MPlayer-dev-eng mailing list