Commit 895bdba5 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Remove practically unused interface type from scripting

parent 0ffb6df6
......@@ -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" ) )
......
......@@ -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" },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment