Commit cddeb8e7 authored by Rafaël Carré's avatar Rafaël Carré

revert [23385]. make sure the object is locked when we enter the thread

parent 9cacf4af
...@@ -165,13 +165,12 @@ static void Execute( intf_thread_t *p_this, const char *const *ppsz_args ) ...@@ -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 ) static void Run( intf_thread_t *p_intf )
{ {
vlc_thread_ready( p_intf ); vlc_object_lock( p_intf );
#ifdef HAVE_DBUS #ifdef HAVE_DBUS
p_intf->p_sys->p_connection = dbus_init( p_intf ); p_intf->p_sys->p_connection = dbus_init( p_intf );
#endif #endif
vlc_object_lock( p_intf );
for(;;) for(;;)
{ {
vlc_object_t *p_vout; vlc_object_t *p_vout;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment