summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Schmidt <jan@centricular.com>2021-02-17 21:34:22 +1100
committerJan Schmidt <jan@centricular.com>2021-02-19 21:01:29 +1100
commit22528c4d96257b8e566e870177364cf47193a100 (patch)
tree1c23850ebdbcc4757eb1920fec51ef4d84e26522
parent8a3fadb8ed21c04c5ba73a68d1fca893ab8e1b80 (diff)
Update check_keyframes_in_compositor_two_sources
Update the validate expectation for videoconvert caps changes in https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1033 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/229>
-rw-r--r--tests/check/scenarios/check_keyframes_in_compositor_two_sources.validatetest2
-rw-r--r--tests/check/scenarios/check_keyframes_in_compositor_two_sources/flow-expectations/log-videosink-sink-expected4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/check/scenarios/check_keyframes_in_compositor_two_sources.validatetest b/tests/check/scenarios/check_keyframes_in_compositor_two_sources.validatetest
index 763bee4e..cbe1062f 100644
--- a/tests/check/scenarios/check_keyframes_in_compositor_two_sources.validatetest
+++ b/tests/check/scenarios/check_keyframes_in_compositor_two_sources.validatetest
@@ -3,7 +3,7 @@ meta,
args = {
-t, video,
--videosink, "$(videosink) name=videosink sync=true",
- --video-caps, "video/x-raw,width=500,height=500,framerate=10/1,format=I420",
+ --video-caps, "video/x-raw,width=500,height=500,framerate=10/1,format=I420,colorimetry=(string)bt601,chroma-site=(string)jpeg",
},
handles-states=true,
ignore-eos=true,
diff --git a/tests/check/scenarios/check_keyframes_in_compositor_two_sources/flow-expectations/log-videosink-sink-expected b/tests/check/scenarios/check_keyframes_in_compositor_two_sources/flow-expectations/log-videosink-sink-expected
index 6f3cbeea..24feb617 100644
--- a/tests/check/scenarios/check_keyframes_in_compositor_two_sources/flow-expectations/log-videosink-sink-expected
+++ b/tests/check/scenarios/check_keyframes_in_compositor_two_sources/flow-expectations/log-videosink-sink-expected
@@ -1,5 +1,5 @@
event stream-start: GstEventStreamStart, flags=(GstStreamFlags)GST_STREAM_FLAG_NONE;
-event caps: video/x-raw, width=(int)500, height=(int)500, framerate=(fraction)10/1, format=(string)I420;
+event caps: video/x-raw, width=(int)500, height=(int)500, framerate=(fraction)10/1, format=(string)I420, colorimetry=(string)bt601, chroma-site=(string)jpeg;
event segment: format=TIME, start=0:00:00.000000000, offset=0:00:00.000000000, stop=0:00:02.000000000, flags=0x01, time=0:00:00.000000000, base=0:00:00.000000000, position=none
buffer: content-id=0, pts=0:00:00.000000000, dur=0:00:00.100000000, meta=GstVideoMeta
buffer: content-id=1, pts=0:00:00.100000000, dur=0:00:00.100000000, meta=GstVideoMeta
@@ -27,7 +27,7 @@ event eos: (no structure)
event flush-start: (no structure)
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:02.000000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000, position=none
-buffer: content-id=12, pts=0:00:01.000000000, dur=0:00:00.100000000, meta=GstVideoMeta
+buffer: content-id=10, pts=0:00:01.000000000, dur=0:00:00.100000000, meta=GstVideoMeta
event flush-start: (no structure)
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:03.000000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000, position=none