mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
tests: mpegvideoparse: fix unit test regression
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=676097 Conflicts: tests/check/elements/mpegvideoparse.c
This commit is contained in:
parent
508b9ff51a
commit
c0c8aaed21
1 changed files with 1 additions and 1 deletions
|
@ -190,7 +190,7 @@ mpeg_video_parse_check_caps (guint version, guint8 * seq, gint size)
|
|||
gst_buffer_map (buf, &map, GST_MAP_READ);
|
||||
/* codec-data = header - GOP */
|
||||
assert_equals_int (map.size, size - 8);
|
||||
fail_unless (memcmp (map.data, seq + 4, map.size) == 0);
|
||||
fail_unless (memcmp (map.data, seq, map.size) == 0);
|
||||
gst_buffer_unmap (buf, &map);
|
||||
|
||||
gst_caps_unref (caps);
|
||||
|
|
Loading…
Reference in a new issue