Commit cfdb45c3 authored by Rafaël Carré's avatar Rafaël Carré

use FIND_ANYWHERE only as a fallback. thanks to thedj

parent 33b94332
......@@ -36,7 +36,10 @@ void CmdFullscreen::execute()
}
pVout = (vout_thread_t *)vlc_object_find( getIntf()->p_sys->p_input,
VLC_OBJECT_VOUT, FIND_ANYWHERE );
VLC_OBJECT_VOUT, FIND_CHILD );
if( !pVout )
pVout = (vout_thread_t *)vlc_object_find( getIntf()->p_sys->p_input,
VLC_OBJECT_VOUT, FIND_ANYWHERE );
if( pVout )
{
// Switch to fullscreen
......
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