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
fe41cd60
Commit
fe41cd60
authored
Sep 21, 2008
by
Rémi Denis-Courmont
Browse files
Remove the vlc_list_find/module hack
parent
460a78ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/misc/objects.c
View file @
fe41cd60
...
...
@@ -817,12 +817,6 @@ vlc_list_t * __vlc_list_find( vlc_object_t *p_this, int i_type, int i_mode )
switch
(
i_mode
&
0x000f
)
{
case
FIND_ANYWHERE
:
/* Modules should probably not be object, and the module should perhaps
* not be shared across LibVLC instances. In the mean time, this ugly
* hack is brought to you by Courmisch. */
if
(
i_type
==
VLC_OBJECT_MODULE
)
return
vlc_list_find
((
vlc_object_t
*
)
p_module_bank
,
i_type
,
FIND_CHILD
);
return
vlc_list_find
(
p_this
->
p_libvlc
,
i_type
,
FIND_CHILD
);
case
FIND_CHILD
:
...
...
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