1# Common metadatas to check the videorate element behavior with different 2# framerate specified by previously setting variables with: 3# ``` 4# set-global, rate=<test-rate>, decoder=<decoder> 5# ``` 6# and then `include, location="check-rate-prop.meta" to setup the test with this 7# file 8 9meta, 10 args = { 11 "videotestsrc pattern=ball animation-mode=frames ! video/x-raw,format=I420,framerate=30/1,width=320,height=240 $(decoder) videorate name=videorate rate=$(rate) ! fakesink sync=true qos=true", 12 }, 13 configs = { 14 "$(validateflow), pad=videorate:sink, buffers-checksum=as-id, ignored-event-types={ tag }", 15 "$(validateflow), pad=videorate:src, buffers-checksum=as-id, ignored-event-types={ tag }", 16 } 17 18crank-clock, expected-time=0.0 19crank-clock, repeat=9 20wait, on-clock=true 21check-position, expected-position=300000000 22stop