[vlc-commits] Remove VLC_OBJECT_INPUT type

Rémi Denis-Courmont git at videolan.org
Mon Jul 11 17:38:06 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jul 11 18:18:10 2011 +0300| [3d3dfde185023beef9fd43c27bcde56fcfbe7811] | committer: Rémi Denis-Courmont

Remove VLC_OBJECT_INPUT type

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

 include/vlc_objects.h |    1 -
 src/input/input.c     |    2 +-
 2 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/include/vlc_objects.h b/include/vlc_objects.h
index fb706ad..55d9a51 100644
--- a/include/vlc_objects.h
+++ b/include/vlc_objects.h
@@ -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)
diff --git a/src/input/input.c b/src/input/input.c
index 3f0bab6..85851bf 100644
--- a/src/input/input.c
+++ b/src/input/input.c
@@ -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;
 



More information about the vlc-commits mailing list