From 8d184312b08d57c659aef1fe8cee77303b940aa8 Mon Sep 17 00:00:00 2001 From: pontscho Date: Tue, 15 Jan 2002 17:03:19 +0000 Subject: small gtk bug fix (-display bug, baze gabu, miattad fogok elkarhozni:), and remove gui dependencie in mencoder git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4177 b3059339-0415-0410-9bf9-f77b7e298cf2 --- mplayer.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'mplayer.c') diff --git a/mplayer.c b/mplayer.c index 9e927afd89..f748632db2 100644 --- a/mplayer.c +++ b/mplayer.c @@ -657,8 +657,11 @@ if(!parse_codec_cfg(get_path("codecs.conf"))){ } 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()"); -- cgit v1.2.3