vlc | branch: master | Rémi Denis-Courmont <r...@remlab.net> | Sun Nov 21 13:30:38 2010 +0200| [6088b41ddc3a01d634e4b18fe95f468e12e4a864] | committer: Rémi Denis-Courmont
Qt4: cosmetic + comment > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=6088b41ddc3a01d634e4b18fe95f468e12e4a864 --- modules/gui/qt4/qt4.cpp | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/gui/qt4/qt4.cpp b/modules/gui/qt4/qt4.cpp index 9e7519e..168670b 100644 --- a/modules/gui/qt4/qt4.cpp +++ b/modules/gui/qt4/qt4.cpp @@ -359,12 +359,14 @@ static int Open( vlc_object_t *p_this, bool isDialogProvider ) } #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_destroy (&ready); #ifndef Q_WS_MAC - if( !p_sys->b_isDialogProvider ) + if( !isDialogProvider ) { RegisterIntf( p_this ); } _______________________________________________ vlc-commits mailing list vlc-commits@videolan.org http://mailman.videolan.org/listinfo/vlc-commits