Commit 6088b41d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Qt4: cosmetic + comment

parent 93ee8f45
...@@ -359,12 +359,14 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider ) ...@@ -359,12 +359,14 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider )
} }
#endif #endif
/* */ /* Wait for the interface to be ready. This prevents the main
* LibVLC thread from starting video playback before we can create
* an embedded video window. */
vlc_sem_wait (&ready); vlc_sem_wait (&ready);
vlc_sem_destroy (&ready); vlc_sem_destroy (&ready);
#ifndef Q_WS_MAC #ifndef Q_WS_MAC
if( !p_sys->b_isDialogProvider ) if( !isDialogProvider )
{ {
RegisterIntf( p_this ); RegisterIntf( p_this );
} }
......
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