gstreamer/tests/validate/videorate/videorate-test.meta
Thibault Saunier dc47232d0d videorate: Do not push an extra buffer on EOS when we are done pushing already
There is no reason that when we have already pushed all the buffers in
a segment we push a new one on EOS

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/668>
2020-05-26 15:35:00 -04:00

17 lines
797 B
Text

# Common metadatas to check the videorate element behavior with different
# framerate specified by previously setting variables with:
# ```
# set-global, in_framerate=<videorate skinkpad framerate>, out_framerate=<videorate srcpad framerate>
# ```
# and then `include, location="videorate-test.meta" to setup the test with this
# file
meta,
handles-states=true,
ignore-eos=true,
args = {
"videotestsrc pattern=ball animation-mode=frames ! video/x-raw,format=I420,framerate=$(in_framerate) ! videorate name=videorate ! video/x-raw,format=I420,framerate=$(out_framerate) ! $(videosink) allocation-meta-flags=0",
},
configs = {
"$(validateflow), pad=videorate:sink, buffers-checksum=true",
"$(validateflow), pad=videorate:src, buffers-checksum=true",
}