]> git.sesse.net Git - vlc/commitdiff
OSDMenu: Use FIND_PARENT instead of FIND_ANYWHERE when applicable.
authorJean-Baptiste Kempf <jb@videolan.org>
Thu, 27 Aug 2009 12:53:10 +0000 (14:53 +0200)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 27 Aug 2009 18:14:27 +0000 (20:14 +0200)
modules/video_filter/osdmenu.c

index 4b2c13f2b98d96701d700ec0420067ee88b5edda..751dbf04c3c56b9d620e2ac1efcc685bced2c91e 100644 (file)
@@ -253,7 +253,7 @@ static int CreateFilter ( vlc_object_t *p_this )
     /* Attach subpicture filter callback */
     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 )
     {
         var_AddCallback( p_sys->p_vout, "mouse-x",