mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-28 20:05:38 +00:00
Fix unit test for videodecoder now outputting mono multiview by default
This commit is contained in:
parent
2980e96a50
commit
3b3bc34e9a
1 changed files with 6 additions and 5 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue