gstreamer/validate/tests/launcher_tests/simple_repeat.validatetest
Thibault Saunier e7355ea039 validate: scenario: Implement 'repeat' by copying actions
Instead of trying to reuse the same action structure and deal with
that in a complex way, copy the action the required number of times.

And add a simple test

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-devtools/-/merge_requests/207>
2020-06-22 17:20:32 +00:00

15 lines
No EOL
491 B
Text

meta,
handles-states=true,
args = {
"videotestsrc pattern=ball animation-mode=frames num-buffers=30 ! video/x-raw,framerate=10/1 ! $(videosink) name=sink sync=true",
},
configs = {
"$(validateflow), pad=sink:sink, buffers-checksum=true",
}
pause;
seek, start="$(position)+0.1", repeat=10, flags="accurate+flush"
priv_check-action-type-calls, type=seek, n=10
check-position, expected-position=1.0
priv_check-action-type-calls, type=check-position, n=1
stop