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

LUA: vlc_object_find does not work for decoders and generic objects

parent 3f64bec5
...@@ -90,10 +90,8 @@ static int vlc_object_type_from_string( const char *psz_name ) ...@@ -90,10 +90,8 @@ static int vlc_object_type_from_string( const char *psz_name )
const char *psz_name; const char *psz_name;
} pp_objects[] = } pp_objects[] =
{ { VLC_OBJECT_INPUT, "input" }, { { VLC_OBJECT_INPUT, "input" },
{ VLC_OBJECT_DECODER, "decoder" },
{ VLC_OBJECT_VOUT, "vout" }, { VLC_OBJECT_VOUT, "vout" },
{ VLC_OBJECT_AOUT, "aout" }, { VLC_OBJECT_AOUT, "aout" },
{ VLC_OBJECT_GENERIC, "generic" },
{ 0, "" } }; { 0, "" } };
int i; int i;
for( i = 0; pp_objects[i].i_type; i++ ) for( i = 0; pp_objects[i].i_type; i++ )
......
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