]> git.sesse.net Git - vlc/commitdiff
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 a6551b34e13783d630db7596a9f9f60328a80911..bd7c169f2c7e823fcb0432cf9bf4a3886dd749e7 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 8621ffe36953da5fb006cef9ea09b880e4b8e0f5..004840921202530c7d29737f621a611d2b0bf3f1 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" },