Debian Codegraph @

tests/validate/videorate/duplicate_on_eos_half_sec.validatetest

raw
1 meta,
2 args = {
3 "videotestsrc pattern=ball animation-mode=frames ! video/x-raw,format=I420,framerate=1/1,width=320,height=240 ! videorate max-closing-segment-duplication-duration=500000000 name=videorate ! video/x-raw,framerate=30/1 ! fakesink sync=true qos=true",
4 },
5 configs = {
6 "$(validateflow), pad=videorate:sink, buffers-checksum=as-id, ignored-event-types={ tag }",
7 "$(validateflow), pad=videorate:src, buffers-checksum=as-id, ignored-event-types={ tag }",
8 },
9 handles-states=true,
10 ignore-eos=true
11
12 pause
13
14 seek, flags=flush+accurate, start=0, stop=2.0
15 play
16 crank-clock, repeat=46
17 wait, message-type=eos
18
19 # At most 0.5 second can be output after EOS, meaning that after the second
20 # buffer (which starts at 1) videorate will duplicate the frame for 0.5 secs
21 check-position, expected-position=1.5
22 stop
23
24
25