Fix unit test for videodecoder now outputting mono multiview by default
authorJan Schmidt <jan@centricular.com>
Fri, 19 May 2017 16:38:45 +0000 (18:38 +0200)
committerJan Schmidt <jan@centricular.com>
Fri, 19 May 2017 16:38:45 +0000 (18:38 +0200)
tests/check/libs/videodecoder.c

index b458b8d..967bcd7 100644 (file)
@@ -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);