mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
pbutils: Fix wmv screen detection
strncmp vs !strncmp :) Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/2076>
This commit is contained in:
parent
530272850d
commit
0425d60190
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 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);
|
||||
|
|
Loading…
Reference in a new issue