]> git.sesse.net Git - vlc/commitdiff
LUA: vlc_object_find does not work for decoders and generic objects
authorRémi Denis-Courmont <remi@remlab.net>
Wed, 27 Jan 2010 18:14:43 +0000 (20:14 +0200)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 27 Jan 2010 19:05:56 +0000 (21:05 +0200)
modules/misc/lua/libs/objects.c

index 950f5fe78752237b057432a11d0d8cb05d4ab99b..066129080a4981b15d4a18180c7ceb5a4bb1ebea 100644 (file)
@@ -90,10 +90,8 @@ static int vlc_object_type_from_string( const char *psz_name )
         const char *psz_name;
     } pp_objects[] =
         { { VLC_OBJECT_INPUT, "input" },
-          { VLC_OBJECT_DECODER, "decoder" },
           { VLC_OBJECT_VOUT, "vout" },
           { VLC_OBJECT_AOUT, "aout" },
-          { VLC_OBJECT_GENERIC, "generic" },
           { 0, "" } };
     int i;
     for( i = 0; pp_objects[i].i_type; i++ )