[vlc-commits] commit: Qt4: cosmetic + comment (	=?UTF-8?Q?R=C3=A9mi=20Denis=2DCourmont=20?=)
    git at videolan.org 
    git at videolan.org
       
    Sun Nov 21 12:53:40 CET 2010
    
    
  
vlc | branch: master | Rémi Denis-Courmont <remi at 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 );
     }
    
    
More information about the vlc-commits
mailing list