From 00187ddb0cbfa8508606aa9b801495fd447ce4d4 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 28 Mar 2022 12:13:12 +0200 Subject: [PATCH] pbutils: Fix wmv screen detection strncmp vs !strncmp :) Part-of: --- .../gst-plugins-base/gst-libs/gst/pbutils/descriptions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 8caa1160ad..3c6943e045 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);