tools: Fix playbin detection

We might be using playbin3 instead
This commit is contained in:
Edward Hervey 2015-11-05 10:19:22 +01:00 committed by Edward Hervey
parent b77797da4b
commit b413f3a404

View file

@ -212,7 +212,7 @@ _is_playbin_pipeline (int argc, gchar ** argv)
gint 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;
}
}