videorate: Add a `max-closing-segment-duplication-duration` property
[platform/upstream/gstreamer.git] / subprojects / gst-plugins-base / tests / validate / videorate / duplicate_on_eos_disbaled.validatetest
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=0 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=31
17 wait, message-type=eos
18
19 # Second buffer won't be duplicated as we disabled on on EOS
20 check-position, expected-position=1.0
21 stop
22
23