Remove practically unused interface type from scripting
authorRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 19 Jan 2009 17:31:04 +0000 (19:31 +0200)
committerRémi Denis-Courmont <rdenis@simphalempin.com>
Mon, 19 Jan 2009 17:35:00 +0000 (19:35 +0200)
modules/control/http/rpn.c
modules/misc/lua/libs/objects.c

index a6551b3..bd7c169 100644 (file)
@@ -41,8 +41,6 @@ static vlc_object_t *GetVLCObject( intf_thread_t *p_intf,
 
     if( !strcmp( psz_object, "VLC_OBJECT_LIBVLC" ) )
         p_object = VLC_OBJECT(p_intf->p_libvlc);
-    else if( !strcmp( psz_object, "VLC_OBJECT_INTF" ) )
-        p_object = VLC_OBJECT(p_intf);
     else if( !strcmp( psz_object, "VLC_OBJECT_PLAYLIST" ) )
         p_object = VLC_OBJECT(p_sys->p_playlist);
     else if( !strcmp( psz_object, "VLC_OBJECT_INPUT" ) )
index 8621ffe..0048409 100644 (file)
@@ -89,8 +89,7 @@ static int vlc_object_type_from_string( const char *psz_name )
         int i_type;
         const char *psz_name;
     } pp_objects[] =
-        { { VLC_OBJECT_INTF, "intf" },
-          { VLC_OBJECT_INPUT, "input" },
+        { { VLC_OBJECT_INPUT, "input" },
           { VLC_OBJECT_DECODER, "decoder" },
           { VLC_OBJECT_VOUT, "vout" },
           { VLC_OBJECT_AOUT, "aout" },