From b413f3a4042f1830731ef314f798813c2a62293f Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Thu, 5 Nov 2015 10:19:22 +0100 Subject: [PATCH] tools: Fix playbin detection We might be using playbin3 instead --- validate/tools/gst-validate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/validate/tools/gst-validate.c b/validate/tools/gst-validate.c index f78935227c..f796bca4a1 100644 --- a/validate/tools/gst-validate.c +++ b/validate/tools/gst-validate.c @@ -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; } }