Commit bf765b54 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

OSDMenu: Use FIND_PARENT instead of FIND_ANYWHERE when applicable.

parent bcd4620e
...@@ -253,7 +253,7 @@ static int CreateFilter ( vlc_object_t *p_this ) ...@@ -253,7 +253,7 @@ static int CreateFilter ( vlc_object_t *p_this )
/* Attach subpicture filter callback */ /* Attach subpicture filter callback */
p_filter->pf_sub_filter = Filter; p_filter->pf_sub_filter = Filter;
p_sys->p_vout = vlc_object_find( p_this, VLC_OBJECT_VOUT, FIND_ANYWHERE ); p_sys->p_vout = vlc_object_find( p_this, VLC_OBJECT_VOUT, FIND_PARENT );
if( p_sys->p_vout ) if( p_sys->p_vout )
{ {
var_AddCallback( p_sys->p_vout, "mouse-x", var_AddCallback( p_sys->p_vout, "mouse-x",
......
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