Commit 5266ede1 authored by Olivier Aubert's avatar Olivier Aubert

python bindings: fix MediaDescriptor.get_meta method

parent 528f1c64
......@@ -180,13 +180,14 @@ vlcMediaDescriptor_get_meta( PyObject *self, PyObject *args )
if( !PyArg_ParseTuple( args, "s", &psz_meta ) )
return NULL;
while( !meta_names[i_loop] )
while( meta_names[i_loop] )
{
if( !strncmp(meta_names[i_loop], psz_meta, strlen(meta_names[i_loop])) )
{
i_index = i_loop;
break;
}
i_loop++;
}
if( i_index < 0 )
{
......
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