Commit d1a4a59a authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

libvlc: Don't raise an exception if there is no vout in set_drawable.

parent d057b0df
......@@ -724,9 +724,7 @@ void libvlc_media_player_set_drawable( libvlc_media_player_t *p_mi,
}
p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD );
if( !p_vout )
libvlc_exception_raise( p_e, "No active video output" );
else
if( p_vout )
{
vout_Control( p_vout , VOUT_REPARENT, drawable);
vlc_object_release( p_vout );
......
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