Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Steve Lhomme
VLC
Commits
bf765b54
Commit
bf765b54
authored
Aug 27, 2009
by
Jean-Baptiste Kempf
Browse files
OSDMenu: Use FIND_PARENT instead of FIND_ANYWHERE when applicable.
parent
bcd4620e
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/video_filter/osdmenu.c
View file @
bf765b54
...
...
@@ -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"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment