[vlc-devel] commit: Remove the vlc_list_find/module hack ( Rémi Denis-Courmont )

git version control git at videolan.org
Sun Sep 21 12:27:26 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sun Sep 21 13:09:51 2008 +0300| [fe41cd6050f39ab989cd8183b7755e8d2208e174] | committer: Rémi Denis-Courmont 

Remove the vlc_list_find/module hack

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe41cd6050f39ab989cd8183b7755e8d2208e174
---

 src/misc/objects.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

diff --git a/src/misc/objects.c b/src/misc/objects.c
index 52b766e..af215e2 100644
--- a/src/misc/objects.c
+++ b/src/misc/objects.c
@@ -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:




More information about the vlc-devel mailing list