gstreamer/subprojects/gst-integration-testsuites/testsuites/validate/clock_sync/video_30fps.validatetest
2021-09-24 16:29:33 -03:00

22 lines
709 B
Text

meta,
handles-states=true,
ignore-eos=true,
args = {
"videotestsrc pattern=blue ! video/x-raw,format=I420,framerate=1/1 ! timeoverlay ! $(videosink) name=videosink allocation-meta-flags=0",
},
configs = {
"$(validateflow), pad=videosink:sink, record-buffers=true",
}
play
set-property, target-element-factory-name=capsfilter, property-name=caps, property-value="video/x-raw,framerate=30/1,format=I420"
seek, start=1.0, stop=2.0, flags=accurate+flush, rate=1.0
# First buffer is display as fast as possible
crank-clock, expected-elapsed-time=0.0, expected-time=0.0
crank-clock, repeat=29
# Waiting 1 second on EOS
crank-clock, expected-time=1.0
stop, on-message=eos