summaryrefslogtreecommitdiffstats
path: root/mplayer.c
diff options
context:
space:
mode:
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()");