tools: Fix playbin detection
We might be using playbin3 instead
This commit is contained in:
parent
b77797da4b
commit
b413f3a404
@ -212,7 +212,7 @@ _is_playbin_pipeline (int argc, gchar ** argv)
|
|||||||
gint i;
|
gint i;
|
||||||
|
|
||||||
for (i = 0; i < argc; i++) {
|
for (i = 0; i < argc; i++) {
|
||||||
if (g_strcmp0 (argv[i], "playbin") == 0) {
|
if (g_ascii_strncasecmp (argv[i], "playbin", 7) == 0) {
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user