diff mplayer.c @ 4176:116abdd0aed1

small gtk bug fix (-display bug, baze gabu, miattad fogok elkarhozni:), and remove gui dependencie in mencoder
author pontscho
date Tue, 15 Jan 2002 17:03:19 +0000
parents ac62f8534409
children 7cfa69df9e0b
line wrap: on
line diff
--- a/mplayer.c	Tue Jan 15 16:35:17 2002 +0000
+++ b/mplayer.c	Tue Jan 15 17:03:19 2002 +0000
@@ -657,8 +657,11 @@
 	} else
 	    printf("Using Linux's hardware RTC timing (%ldHz)\n", irqp);
     }
+#ifdef HAVE_NEW_GUI
 // breaks DGA and SVGAlib and VESA drivers:  --A'rpi
-//    setuid( getuid() ); // strongly test, please check this.
+// and now ? -- Pontscho
+    if(use_gui) setuid( getuid() ); // strongly test, please check this.
+#endif
     if(rtc_fd<0)
 #endif
 	printf("Using %s timing\n",softsleep?"software":"usleep()");