summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-15 17:03:19 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-15 17:03:19 +0000
commit8d184312b08d57c659aef1fe8cee77303b940aa8 (patch)
tree035aa4f5e95a91e2a8271095bf20cb8d3f6b782a /mplayer.c
parenteadeed12f4eb900c92f0e4f7a9dabd14fce47208 (diff)
downloadmpv-8d184312b08d57c659aef1fe8cee77303b940aa8.tar.bz2
mpv-8d184312b08d57c659aef1fe8cee77303b940aa8.tar.xz
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
Diffstat (limited to 'mplayer.c')
-rw-r--r--mplayer.c5
1 files changed, 4 insertions, 1 deletions
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()");