mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-04 15:36:35 +00:00
7dd6bc4de2
They are needed as those are not 100% reproducible with GES. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-editing-services/-/merge_requests/168>
30 lines
No EOL
1.1 KiB
Text
30 lines
No EOL
1.1 KiB
Text
meta,
|
|
tool = "ges-launch-$(gst_api_version)",
|
|
args = {
|
|
--track-types, video,
|
|
--videosink, "$(videosink) name=videosink",
|
|
--video-caps, "video/x-raw,width=1280,height=720,framerate=10/1",
|
|
},
|
|
handles-states=true,
|
|
ignore-eos=true,
|
|
configs = {
|
|
# Ideally we should be able to record checksums... but they are not reproducible
|
|
"$(validateflow), pad=videosink:sink, record-buffers=true, ignored-fields=\"stream-start={stream-id,group-id,stream}\"",
|
|
}
|
|
|
|
add-clip, name=c0, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=0, duration=1.0
|
|
set-child-properties, element-name=c0, pattern=blue, time-mode=time-code, valignment=center, halignment=center
|
|
|
|
add-clip, name=c1, asset-id=GESTestClip, layer-priority=0, type=GESTestClip, start=1.0, duration=1.0
|
|
set-child-properties, element-name=c1, pattern=red, time-mode=time-code, valignment=center, halignment=center
|
|
commit;
|
|
play
|
|
|
|
seek, start=0.0, stop=0.5, flags=accurate+flush
|
|
crank-clock, expected-elapsed-time=0.0
|
|
|
|
# 4 remaining buffers + eos.
|
|
crank-clock, repeat=5, expected-elapsed-time=0.1
|
|
|
|
check-position, on-message=eos, expected-position=0.5
|
|
stop; |