Skip to content
Snippets Groups Projects
Commit a4ebcf66 authored by Laurent Aimar's avatar Laurent Aimar
Browse files

Removed one vlc_object_find(VOUT, CHILD) in mkv.

parent 097ab852
No related branches found
No related tags found
No related merge requests found
......@@ -536,8 +536,7 @@ void * demux_sys_t::EventThread( vlc_object_t *p_this )
else if( p_vout == NULL )
{
p_vout = (vlc_object_t*) vlc_object_find( p_sys->p_input, VLC_OBJECT_VOUT,
FIND_CHILD );
p_vout = (vlc_object_t*) input_GetVout(p_sys->p_input);
if( p_vout)
{
var_AddCallback( p_vout, "mouse-moved", EventMouse, p_ev );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment