[MPlayer-dev-eng] [PATCH] fix -vm -fs -vo xv

Tobias Diedrich ranma at gmx.at
Sat May 18 18:55:09 CEST 2002


When using mplayer with -vm -fs -vo xv it will scale the video up to the
size of the desktop before the modechange took place, so only part of
the video is shown.
This fixes this by calling aspect_save_screenres again after the modechange
with correct parameters.

-- 
Tobias								PGP: 0x9AC7E0BC
-------------- next part --------------
Index: main/libvo/vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.87
diff -u -r1.87 vo_xv.c
--- main/libvo/vo_xv.c	14 May 2002 23:44:35 -0000	1.87
+++ main/libvo/vo_xv.c	18 May 2002 17:01:46 -0000
@@ -380,6 +380,7 @@
 	hint.y=(vo_screenheight-modeline_height)/2;
 	hint.width=modeline_width;
 	hint.height=modeline_height;
+	aspect_save_screenres(modeline_width,modeline_height);
       }
     else
 #endif


More information about the MPlayer-dev-eng mailing list