control/video: find the vout anywhere, so the one spawned by audio output (audio...
authorRafaël Carré <funman@videolan.org>
Wed, 3 Oct 2007 21:29:34 +0000 (21:29 +0000)
committerRafaël Carré <funman@videolan.org>
Wed, 3 Oct 2007 21:29:34 +0000 (21:29 +0000)
src/control/video.c

index 24103f0..fbe1ee8 100644 (file)
@@ -43,7 +43,7 @@ static vout_thread_t *GetVout( libvlc_media_instance_t *p_mi,
 
     if( p_input_thread )
     {
-        p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD );
+        p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_ANYWHERE );
         if( !p_vout )
         {
             libvlc_exception_raise( p_exception, "No active video output" );