pbutils: Fix wmv screen detection

strncmp vs !strncmp :)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2076>
This commit is contained in:
Edward Hervey 2022-03-28 12:13:12 +02:00 committed by Tim-Philipp Müller
parent 530272850d
commit 0425d60190

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