[MPlayer-cvslog] CVS: main/libvo vo_dxr3.c,1.125,1.126

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sun Nov 6 22:15:56 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv29319

Modified Files:
	vo_dxr3.c 
Log Message:
Fix compilation, use vo_fs instead of fullscreen variable. Not tested.


Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.125
retrieving revision 1.126
diff -u -r1.125 -r1.126
--- vo_dxr3.c	5 Aug 2005 01:24:36 -0000	1.125
+++ vo_dxr3.c	6 Nov 2005 21:15:53 -0000	1.126
@@ -162,7 +162,6 @@
 static int v_width, v_height;
 static int s_width, s_height;
 static int osd_w, osd_h;
-static int fullscreen;
 static int img_format;
 
 /* Configuration values
@@ -293,13 +292,9 @@
 	case VOCTRL_FULLSCREEN:
 		if (dxr3_overlay) {
 			vo_x11_fullscreen();
-			if (fullscreen) {
-				overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_WITH_VGA);
-				fullscreen = 0;
-			} else {
-				overlay_signalmode(overlay_data, EM8300_OVERLAY_SIGNAL_ONLY);
-				fullscreen = 1;
-			}
+			overlay_signalmode(overlay_data,
+			  vo_fs ? EM8300_OVERLAY_SIGNAL_ONLY :
+			    EM8300_OVERLAY_SIGNAL_WITH_VGA);
 			return VO_TRUE;
 		}
 		return VO_FALSE;




More information about the MPlayer-cvslog mailing list