gstreamer/subprojects/gst-plugins-base/tests/validate/videorate/duplicate_on_eos.validatetest
Thibault Saunier bb840bd116 videorate: Add a max-closing-segment-duplication-duration property
This allows users to let videorate fully fill the segments when received
EOS or on new segment, removing an arbitrary limit of 25 duplicates which
might not be what the user wants (for example on low FPS stream in GES,
that sometimes leaded to broken behavior)

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/3000>
2022-09-20 13:23:02 +00:00

22 lines
707 B
Plaintext

meta,
args = {
"videotestsrc pattern=ball animation-mode=frames ! video/x-raw,format=I420,framerate=1/1,width=320,height=240 ! videorate name=videorate ! video/x-raw,framerate=30/1 ! fakesink sync=true qos=true",
},
configs = {
"$(validateflow), pad=videorate:sink, buffers-checksum=as-id, ignored-event-types={ tag }",
"$(validateflow), pad=videorate:src, buffers-checksum=as-id, ignored-event-types={ tag }",
},
handles-states=true,
ignore-eos=true
pause
seek, flags=flush+accurate, start=0, stop=3.0
play
crank-clock, repeat=91
wait, message-type=eos
# Last buffer is duplicated until the full segment is filled
check-position, expected-position=3.0
stop