[vlc-devel] commit: Missing vlc_savecancel() ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Jan 25 20:01:43 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Jan 25 21:01:33 2009 +0200| [74e99b37c284a36d65bc2cee9c76d003bcd8f1dc] | committer: Rémi Denis-Courmont 

Missing vlc_savecancel()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=74e99b37c284a36d65bc2cee9c76d003bcd8f1dc
---

 modules/misc/screensaver.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/modules/misc/screensaver.c b/modules/misc/screensaver.c
index f7b56ea..6a4643a 100644
--- a/modules/misc/screensaver.c
+++ b/modules/misc/screensaver.c
@@ -172,7 +172,7 @@ static void Run( intf_thread_t *p_intf )
 #endif
 
     for( ;; )
-   {
+    {
         vlc_object_t *p_vout;
 
         p_vout = vlc_object_find( p_intf, VLC_OBJECT_VOUT, FIND_ANYWHERE );
@@ -211,6 +211,7 @@ static void Run( intf_thread_t *p_intf )
         vlc_restorecancel( canc );
         /* Check screensaver every 30 seconds */
         msleep( 30 * CLOCK_FREQ );
+        canc = vlc_savecancel( );
     }
 }
 




More information about the vlc-devel mailing list