From 3b3bc34e9ab167f1a6c69b2ed6c4edeee0356925 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Fri, 19 May 2017 18:38:45 +0200 Subject: [PATCH] Fix unit test for videodecoder now outputting mono multiview by default --- tests/check/libs/videodecoder.c | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/check/libs/videodecoder.c b/tests/check/libs/videodecoder.c index b458b8d..967bcd7 100644 --- a/tests/check/libs/videodecoder.c +++ b/tests/check/libs/videodecoder.c @@ -1083,16 +1083,16 @@ GST_END_TEST; static const gchar *test_default_caps[][2] = { { "video/x-test-custom", - "video/x-raw, format=I420, width=1280, height=720, framerate=0/1"}, { + "video/x-raw, format=I420, width=1280, height=720, framerate=0/1, multiview-mode=mono"}, { "video/x-test-custom, width=1000", - "video/x-raw, format=I420, width=1000, height=720, framerate=0/1"}, { + "video/x-raw, format=I420, width=1000, height=720, framerate=0/1, multiview-mode=mono"}, { "video/x-test-custom, height=500", - "video/x-raw, format=I420, width=1280, height=500, framerate=0/1"}, { + "video/x-raw, format=I420, width=1280, height=500, framerate=0/1, multiview-mode=mono"}, { "video/x-test-custom, framerate=10/1", - "video/x-raw, format=I420, width=1280, height=720, framerate=10/1"}, { + "video/x-raw, format=I420, width=1280, height=720, framerate=10/1, multiview-mode=mono"}, { "video/x-test-custom, pixel-aspect-ratio=2/1", "video/x-raw, format=I420, width=1280, height=720, framerate=0/1," - "pixel-aspect-ratio=2/1"} + "pixel-aspect-ratio=2/1, multiview-mode=mono"} }; GST_START_TEST (videodecoder_default_caps_on_gap_before_buffer) @@ -1133,6 +1133,7 @@ GST_START_TEST (videodecoder_default_caps_on_gap_before_buffer) caps2 = gst_caps_from_string (test_default_caps[__i__][1]); gst_video_info_from_caps (&info1, caps1); gst_video_info_from_caps (&info2, caps2); + gst_caps_unref (caps1); gst_caps_unref (caps2); -- 2.7.4