From: Edward Hervey Date: Mon, 28 Mar 2022 10:13:12 +0000 (+0200) Subject: pbutils: Fix wmv screen detection X-Git-Tag: 1.22.0~1999 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=00187ddb0cbfa8508606aa9b801495fd447ce4d4;p=platform%2Fupstream%2Fgstreamer.git pbutils: Fix wmv screen detection strncmp vs !strncmp :) Part-of: --- diff --git a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c index 8caa116..3c6943e 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c +++ b/subprojects/gst-plugins-base/gst-libs/gst/pbutils/descriptions.c @@ -649,7 +649,7 @@ format_info_get_desc (const FormatInfo * info, const GstCaps * caps) case 1: case 2: case 3: - if (str && strncmp (str, "MSS", 3)) { + if (str && !strncmp (str, "MSS", 3)) { return g_strdup_printf ("Windows Media Video %d Screen", ver + 6); } else { return g_strdup_printf ("Windows Media Video %d", ver + 6);