[MPlayer-cvslog] r20916 - trunk/mplayer.c

uau subversion at mplayerhq.hu
Tue Nov 14 10:52:49 CET 2006


Author: uau
Date: Tue Nov 14 10:52:49 2006
New Revision: 20916

Modified:
   trunk/mplayer.c

Log:
Move xscreensaver_heartbeat call next to vo check_events


Modified: trunk/mplayer.c
==============================================================================
--- trunk/mplayer.c	(original)
+++ trunk/mplayer.c	Tue Nov 14 10:52:49 2006
@@ -4423,6 +4423,13 @@
     current_module="vo_check_events";
     if (vo_config_count) video_out->check_events();
 
+#ifdef HAVE_X11
+    if (stop_xscreensaver) {
+	current_module = "stop_xscreensaver";
+	xscreensaver_heartbeat();
+    }
+#endif
+
     frame_time_remaining = sleep_until_update(&time_frame, &aq_sleep_time);
 
 //====================== FLIP PAGE (VIDEO BLT): =========================
@@ -5421,14 +5428,6 @@
   }
 #endif
 
-#ifdef HAVE_X11
-if (stop_xscreensaver && sh_video) {
-  current_module="stop_xscreensaver";
-  xscreensaver_heartbeat();
-  current_module=NULL;
-}
-#endif
-  
   // DVD sub:
 if(vo_config_count && vo_spudec) {
   unsigned char* packet=NULL;



More information about the MPlayer-cvslog mailing list