mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
pbutils: Fix wmv screen detection
strncmp vs !strncmp :) Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2050>
This commit is contained in:
parent
39e45e5b1c
commit
00187ddb0c
1 changed files with 1 additions and 1 deletions
|
@ -649,7 +649,7 @@ format_info_get_desc (const FormatInfo * info, const GstCaps * caps)
|
||||||
case 1:
|
case 1:
|
||||||
case 2:
|
case 2:
|
||||||
case 3:
|
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);
|
return g_strdup_printf ("Windows Media Video %d Screen", ver + 6);
|
||||||
} else {
|
} else {
|
||||||
return g_strdup_printf ("Windows Media Video %d", ver + 6);
|
return g_strdup_printf ("Windows Media Video %d", ver + 6);
|
||||||
|
|
Loading…
Reference in a new issue