pbutils: Fix wmv screen detection

strncmp vs !strncmp :)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2050>
This commit is contained in:
Edward Hervey 2022-03-28 12:13:12 +02:00 committed by GStreamer Marge Bot
parent 39e45e5b1c
commit 00187ddb0c

View file

@ -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);