Commit 82f30a7c authored by Rafaël Carré's avatar Rafaël Carré

control/video: find the vout anywhere, so the one spawned by audio output...

control/video: find the vout anywhere, so the one spawned by audio output (audio visualization) can be found. fix #1202
parent f06a6036
...@@ -43,7 +43,7 @@ static vout_thread_t *GetVout( libvlc_media_instance_t *p_mi, ...@@ -43,7 +43,7 @@ static vout_thread_t *GetVout( libvlc_media_instance_t *p_mi,
if( p_input_thread ) 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 ) if( !p_vout )
{ {
libvlc_exception_raise( p_exception, "No active video output" ); libvlc_exception_raise( p_exception, "No active video output" );
......
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