[vlc-devel] commit: OSDMenu: Use FIND_PARENT instead of FIND_ANYWHERE when applicable. (Jean-Baptiste Kempf )
git version control
git at videolan.org
Thu Aug 27 20:14:51 CEST 2009
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Aug 27 14:53:10 2009 +0200| [bf765b5428dd3f3c41cfc41dbaefce443410226d] | committer: Jean-Baptiste Kempf
OSDMenu: Use FIND_PARENT instead of FIND_ANYWHERE when applicable.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=bf765b5428dd3f3c41cfc41dbaefce443410226d
---
modules/video_filter/osdmenu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/modules/video_filter/osdmenu.c b/modules/video_filter/osdmenu.c
index 4b2c13f..751dbf0 100644
--- a/modules/video_filter/osdmenu.c
+++ b/modules/video_filter/osdmenu.c
@@ -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",
More information about the vlc-devel
mailing list