]> git.sesse.net Git - vlc/commitdiff
revert [23385]. make sure the object is locked when we enter the thread
authorRafaël Carré <funman@videolan.org>
Wed, 28 Nov 2007 17:29:27 +0000 (17:29 +0000)
committerRafaël Carré <funman@videolan.org>
Wed, 28 Nov 2007 17:29:27 +0000 (17:29 +0000)
modules/misc/screensaver.c

index c1553fbbb040e984ef1b301929fc4a807a5573e4..d70fa2e28640f70a26c5ecdb175507bda6b926dc 100644 (file)
@@ -165,13 +165,12 @@ static void Execute( intf_thread_t *p_this, const char *const *ppsz_args )
  *****************************************************************************/
 static void Run( intf_thread_t *p_intf )
 {
-    vlc_thread_ready( p_intf );
+    vlc_object_lock( p_intf );
 
 #ifdef HAVE_DBUS
     p_intf->p_sys->p_connection = dbus_init( p_intf );
 #endif
 
-    vlc_object_lock( p_intf );
     for(;;)
     {
         vlc_object_t *p_vout;