mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 05:06:17 +00:00
tests: enforce I420 format
Tests are assuming video is I420 with a specific chroma and colorimetry but were not actually enforcing it. Fixes needed as I420 will no longer be the first video format, see gst-plugins-base!689 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/184>
This commit is contained in:
parent
10568c30d9
commit
96d1df3cb7
4 changed files with 3 additions and 5 deletions
|
@ -3,7 +3,7 @@ meta,
|
||||||
args = {
|
args = {
|
||||||
--track-types, video,
|
--track-types, video,
|
||||||
--videosink, "$(videosink) name=videosink",
|
--videosink, "$(videosink) name=videosink",
|
||||||
--video-caps, "video/x-raw,width=1280,height=720,framerate=10/1",
|
--video-caps, "video/x-raw,format=I420,width=1280,height=720,framerate=10/1,chroma-site=mpeg2,colorimetry=bt709",
|
||||||
},
|
},
|
||||||
handles-states=true,
|
handles-states=true,
|
||||||
ignore-eos=true,
|
ignore-eos=true,
|
||||||
|
|
|
@ -17,7 +17,6 @@ buffer: pts=0:00:00.400000000, dur=0:00:00.100000000
|
||||||
event eos: (no structure)
|
event eos: (no structure)
|
||||||
event flush-start: (no structure)
|
event flush-start: (no structure)
|
||||||
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
|
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
|
||||||
event caps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, chroma-site=(string)jpeg, colorimetry=(string)bt601;
|
|
||||||
event segment: format=TIME, start=0:00:00.500000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.500000000, base=0:00:00.000000000, position=none
|
event segment: format=TIME, start=0:00:00.500000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:00.500000000, base=0:00:00.000000000, position=none
|
||||||
buffer: pts=0:00:00.500000000, dur=0:00:00.100000000
|
buffer: pts=0:00:00.500000000, dur=0:00:00.100000000
|
||||||
event flush-start: (no structure)
|
event flush-start: (no structure)
|
||||||
|
@ -31,7 +30,6 @@ buffer: pts=0:00:00.900000000, dur=0:00:00.100000000
|
||||||
event eos: (no structure)
|
event eos: (no structure)
|
||||||
event flush-start: (no structure)
|
event flush-start: (no structure)
|
||||||
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
|
event flush-stop: GstEventFlushStop, reset-time=(boolean)true;
|
||||||
event caps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, chroma-site=(string)mpeg2, colorimetry=(string)bt709;
|
|
||||||
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000, position=none
|
event segment: format=TIME, start=0:00:01.000000000, offset=0:00:00.000000000, stop=0:00:01.000000000, flags=0x01, time=0:00:01.000000000, base=0:00:00.000000000, position=none
|
||||||
event eos: (no structure)
|
event eos: (no structure)
|
||||||
event flush-start: (no structure)
|
event flush-start: (no structure)
|
||||||
|
@ -46,7 +44,6 @@ buffer: pts=0:00:01.100000000, dur=0:00:00.100000000
|
||||||
buffer: pts=0:00:01.200000000, dur=0:00:00.100000000
|
buffer: pts=0:00:01.200000000, dur=0:00:00.100000000
|
||||||
buffer: pts=0:00:01.300000000, dur=0:00:00.100000000
|
buffer: pts=0:00:01.300000000, dur=0:00:00.100000000
|
||||||
buffer: pts=0:00:01.400000000, dur=0:00:00.100000000
|
buffer: pts=0:00:01.400000000, dur=0:00:00.100000000
|
||||||
event caps: video/x-raw, format=(string)I420, width=(int)1280, height=(int)720, framerate=(fraction)10/1, chroma-site=(string)jpeg, colorimetry=(string)bt601;
|
|
||||||
event segment: format=TIME, start=0:00:01.500000000, offset=0:00:00.000000000, stop=0:00:01.500000001, flags=0x01, time=0:00:01.500000000, base=0:00:00.500000000, position=none
|
event segment: format=TIME, start=0:00:01.500000000, offset=0:00:00.000000000, stop=0:00:01.500000001, flags=0x01, time=0:00:01.500000000, base=0:00:00.500000000, position=none
|
||||||
buffer: pts=0:00:01.500000000, dur=0:00:00.000000001
|
buffer: pts=0:00:01.500000000, dur=0:00:00.000000001
|
||||||
event eos: (no structure)
|
event eos: (no structure)
|
||||||
|
|
|
@ -3,7 +3,7 @@ meta,
|
||||||
args = {
|
args = {
|
||||||
--track-types, video,
|
--track-types, video,
|
||||||
--videosink, "$(videosink) name=videosink",
|
--videosink, "$(videosink) name=videosink",
|
||||||
--video-caps, "video/x-raw,width=1280,height=720,framerate=10/1",
|
--video-caps, "video/x-raw,format=I420,width=1280,height=720,framerate=10/1,chroma-site=mpeg2,colorimetry=bt709;",
|
||||||
},
|
},
|
||||||
handles-states=true,
|
handles-states=true,
|
||||||
ignore-eos=true,
|
ignore-eos=true,
|
||||||
|
|
|
@ -3,6 +3,7 @@ meta,
|
||||||
args = {
|
args = {
|
||||||
--videosink, "$(videosink) sync=false name=videosink",
|
--videosink, "$(videosink) sync=false name=videosink",
|
||||||
--audiosink, "$(audiosink) sync=false name=audiosink",
|
--audiosink, "$(audiosink) sync=false name=audiosink",
|
||||||
|
--video-caps, "video/x-raw,format=I420,width=1280,height=720,framerate=30/1,chroma-site=mpeg2,colorimetry=bt709",
|
||||||
},
|
},
|
||||||
handles-states=true,
|
handles-states=true,
|
||||||
ignore-eos=true,
|
ignore-eos=true,
|
||||||
|
|
Loading…
Reference in a new issue