[Mplayer-cvslog] CVS: main/libvo vo_xmga.c,1.61,1.62 vo_xv.c,1.79,1.80

Arpi of Ize arpi at mplayerhq.hu
Sun May 5 00:35:03 CEST 2002


Update of /cvsroot/mplayer/main/libvo
In directory mail:/var/tmp.root/cvs-serv16469

Modified Files:
	vo_xmga.c vo_xv.c 
Log Message:
missing if(use_gui) - found by Nilmoni Deb <ndeb at ece.cmu.edu>

Index: vo_xmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xmga.c,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- vo_xmga.c	3 May 2002 20:57:13 -0000	1.61
+++ vo_xmga.c	4 May 2002 22:34:47 -0000	1.62
@@ -299,7 +299,7 @@
 #endif
    vo_gc=XCreateGC( mDisplay,vo_window,GCForeground,&wGCV );
 #ifdef HAVE_NEW_GUI
-  } else guiGetEvent( guiSetShVideo,0 );
+  } else if(use_gui) guiGetEvent( guiSetShVideo,0 );
 #endif
 
  set_window();

Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.79
retrieving revision 1.80
diff -u -r1.79 -r1.80
--- vo_xv.c	3 May 2002 20:57:13 -0000	1.79
+++ vo_xv.c	4 May 2002 22:34:47 -0000	1.80
@@ -451,7 +451,7 @@
      }
 #endif
 #ifdef HAVE_NEW_GUI
-  } else guiGetEvent( guiSetShVideo,0 );
+  } else if(use_gui) guiGetEvent( guiSetShVideo,0 );
 #endif
 
      mp_msg(MSGT_VO,MSGL_V, "using Xvideo port %d for hw scaling\n",xv_port );




More information about the MPlayer-cvslog mailing list