Commit ac91820a authored by Jean-Paul Saman's avatar Jean-Paul Saman
Browse files

src/control/video.c: Replace vlc_object_find with input_GetVout()

parent 53ec8a45
......@@ -42,7 +42,7 @@ static vout_thread_t *GetVout( libvlc_media_player_t *p_mi,
if( p_input_thread )
{
p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD );
p_vout = input_GetVout( p_input_thread );
if( !p_vout )
{
libvlc_exception_raise( p_exception, "No active video output" );
......@@ -176,7 +176,7 @@ int libvlc_media_player_has_vout( libvlc_media_player_t *p_mi,
{
vout_thread_t *p_vout;
p_vout = vlc_object_find( p_input_thread, VLC_OBJECT_VOUT, FIND_CHILD );
p_vout = input_GetVout( p_input_thread );
if( p_vout )
{
has_vout = true;
......
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