3 "appsrc name=src format=time handle-segment-change=true ! \
4 videorate max-closing-segment-duplication-duration=999999999999999 name=videorate ! video/x-raw,framerate=1/1 ! fakesink sync=true",
7 "$(validateflow), pad=videorate:sink, buffers-checksum=as-id, ignored-event-types={ tag }",
8 "$(validateflow), pad=videorate:src, buffers-checksum=as-id, ignored-event-types={ tag }",
13 # Generate the raw video frame that we will used in the appsrc.
15 "gst-validate-1.0", "videotestsrc num-buffers=1 ! video/x-raw,format=I420,framerate=1/1,width=320,height=240 ! filesink location=$(TMPDIR)/tmp.i420",
19 appsrc-push, target-element-name=src, file-name="$(TMPDIR)/tmp.i420", pts=0, duration=1.0,
20 caps=(GstCaps)[video/x-raw,format=I420,framerate=1/1,width=320,height=240],
21 segment=[segment, stop=3.0, format=(GstFormat)time]
23 appsrc-push, target-element-name=src, file-name="$(TMPDIR)/tmp.i420", pts=1., duration=1.0,
24 caps=(GstCaps)[video/x-raw,format=I420,framerate=1/1,width=320,height=240],
25 segment=[segment, stop=3.0, format=(GstFormat)time]
30 checkpoint, text="Setting caps but the videorate element will roll the caps back to push buffers to close the configured segment on EOS"
31 set-properties, src::caps="video/x-raw,width=322,height=244,framerate=1/1"
33 appsrc-eos, target-element-name=src
37 wait, message-type=eos
39 # check-position, expected-position=2.0