2020-05-25 16:31:32 +00:00
|
|
|
# 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 = {
|
2020-05-28 17:42:22 +00:00
|
|
|
"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) ! fakesink sync=true",
|
2020-05-25 16:31:32 +00:00
|
|
|
},
|
|
|
|
configs = {
|
|
|
|
"$(validateflow), pad=videorate:sink, buffers-checksum=true",
|
|
|
|
"$(validateflow), pad=videorate:src, buffers-checksum=true",
|
|
|
|
}
|