]> git.sesse.net Git - vlc/commitdiff
Remove VLC_OBJECT_INPUT type
authorRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jul 2011 15:18:10 +0000 (18:18 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Mon, 11 Jul 2011 14:57:23 +0000 (17:57 +0300)
include/vlc_objects.h
src/input/input.c

index fb706adb18db14dfacf6e692c099c9967bd33837..55d9a51cd47a136367a7c7c2de0c05cf224419dd 100644 (file)
@@ -32,7 +32,6 @@
  */
 
 /* Object types */
-#define VLC_OBJECT_INPUT       (-7)
 /* Please add new object types below -34 */
 /* Please do not add new object types anyway */
 #define VLC_OBJECT_GENERIC     (-666)
index 3f0bab6919fdfafb6b1190481c327fb5146f4618..85851bf97dbfa970b6c158a13d2b0e101e8e4cad 100644 (file)
@@ -323,7 +323,7 @@ static input_thread_t *Create( vlc_object_t *p_parent, input_item_t *p_item,
 
     /* Allocate descriptor */
     p_input = vlc_custom_create( p_parent, sizeof( *p_input ),
-                                 VLC_OBJECT_INPUT, input_name );
+                                 VLC_OBJECT_GENERIC, input_name );
     if( p_input == NULL )
         return NULL;