[MPlayer-dev-eng] [PATCH] libass support in vf_vo

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Fri Aug 25 20:38:45 CEST 2006


Hello,
On Fri, Aug 25, 2006 at 10:07:16PM +0400, Evgeniy Stepanov wrote:
> +        if (video_out->control(VOCTRL_GET_EOSD_RES, &res) == VO_TRUE) {
> +            settings.frame_width = res.w;
> +            settings.frame_height = res.h;
> +        } else {
> +            settings.frame_width = d_width;
> +            settings.frame_height = d_height;
> +        }

To actually be useful (at least for vo_gl) something like this needs to
be done for every VFCTRL_DRAW_EOSD, otherwise when you start playing at
normal resolution and switch to fullscreen the OSD will still look bad
(well, of course -vo gl could just always return the screen resolution,
but that would be a waste of CPU power when the window is small, and it
would still look bad when resizing the window beyond the size of the
screen, although this is unlikely to happen often)

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list