[Mplayer-cvslog] CVS: main/libvo vo_dxr3.c,1.103,1.104

David Holm mswitch at mplayerhq.hu
Sat Nov 2 17:00:42 CET 2002


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

Modified Files:
	vo_dxr3.c 
Log Message:
Missed some gui ifdefs


Index: vo_dxr3.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_dxr3.c,v
retrieving revision 1.103
retrieving revision 1.104
diff -u -r1.103 -r1.104
--- vo_dxr3.c	2 Nov 2002 11:24:53 -0000	1.103
+++ vo_dxr3.c	2 Nov 2002 16:00:21 -0000	1.104
@@ -735,9 +735,13 @@
 		overlay_set_mode(overlay_data, EM8300_OVERLAY_MODE_OFF);
 		overlay_release(overlay_data);
 		
+#ifdef HAVE_NEW_GUI
 		if (!use_gui) {
+#endif
 			vo_x11_uninit();
+#ifdef HAVE_NEW_GUI
 		}
+#endif
 	}
 #endif
 	if (fd_video) {
@@ -896,12 +900,16 @@
 		
 		/* Initialize overlay and X11 */
 		overlay_data = overlay_init(fd_control);
+#ifdef HAVE_NEW_GUI
 		if (!use_gui) {
+#endif
 			if (!vo_init()) {
 				printf("VO: [dxr3] Unable to init x11!\n");
 				return -1;
 			}
+#ifdef HAVE_NEW_GUI
 		}
+#endif
 	}
 #endif
 




More information about the MPlayer-cvslog mailing list