Commit 6b718fb8 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Don't attempt to search an input's vout everywhere. Only search it in input's children.

parent 917203ff
...@@ -42,7 +42,7 @@ static vout_thread_t *GetVout( libvlc_media_player_t *p_mi, ...@@ -42,7 +42,7 @@ static vout_thread_t *GetVout( libvlc_media_player_t *p_mi,
if( p_input_thread ) if( p_input_thread )
{ {
p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_ANYWHERE ); p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD );
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