Commit 8b566f5e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mkv: eliminate dead code

Video output are always "alive", the predicate is always false.
parent 02275b63
......@@ -398,15 +398,7 @@ void event_thread_t::EventThread()
vlc_mutex_unlock( &lock );
/* Always check vout */
if( p_vout && !vlc_object_alive (p_vout) )
{
var_DelCallback( p_vout, "mouse-moved", EventMouse, this );
var_DelCallback( p_vout, "mouse-clicked", EventMouse, this );
vlc_object_release( p_vout );
p_vout = NULL;
}
else if( p_vout == NULL )
if( p_vout == NULL )
{
p_vout = (vlc_object_t*) input_GetVout(p_sys->p_input);
if( 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