mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-25 11:11:08 +00:00
0c75ea0858
Otherwise there is a mismatch between the QoS values and what upstream would expect, leading to too much buffer dropping in video decoders in case rate < 1.0 or not enough buffer dropping in case rate > 1.0 Adding validate tests with and without decoders. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/679>
22 lines
No EOL
840 B
Text
22 lines
No EOL
840 B
Text
# Common metadatas to check the videorate element behavior with different
|
|
# framerate specified by previously setting variables with:
|
|
# ```
|
|
# set-global, rate=<test-rate>, decoder=<decoder>
|
|
# ```
|
|
# and then `include, location="check-rate-prop.meta" to setup the test with this
|
|
# file
|
|
|
|
meta,
|
|
args = {
|
|
"videotestsrc pattern=ball animation-mode=frames ! video/x-raw,framerate=30/1,width=320,height=240 $(decoder) videorate name=videorate rate=$(rate) ! fakesink sync=true qos=true",
|
|
},
|
|
configs = {
|
|
"$(validateflow), pad=videorate:sink, buffers-checksum=as-id, ignored-event-types={ tag }",
|
|
"$(validateflow), pad=videorate:src, buffers-checksum=as-id, ignored-event-types={ tag }",
|
|
}
|
|
|
|
crank-clock, expected-time=0.0
|
|
crank-clock, repeat=9
|
|
wait, on-clock=true
|
|
check-position, expected-position=300000000
|
|
stop |