[MPlayer-dev-eng] [PATCH] libvo/w32_common.c minor corrections

Sascha Sommer saschasommer at freenet.de
Sun Nov 9 14:26:21 CET 2003


> --- libvo/w32_common.c 19 Sep 2003 14:33:51 -0000 1.1
> +++ libvo/w32_common.c 6 Nov 2003 19:31:48 -0000
> @@ -118,8 +118,8 @@
>      vo_screenwidth = dm.dmPelsWidth;
>      vo_screenheight = dm.dmPelsHeight;
>      aspect_save_screenres(vo_screenwidth, vo_screenheight);
> -    if (vo_fs)
> - aspect(&vo_dwidth, &vo_dheight, A_ZOOM);
> +    vo_dwidth = vo_screenwidth;
> +    vo_dheight = vo_screenheight;
>

This doesn't look right imho.
It will always changes the video to fullscreen during mode change. I don't
understand
how you will be able to switch back from fullscreen to windowed with this.
Furthermore it won't preserve the aspect ratio.

Sascha








More information about the MPlayer-dev-eng mailing list