videorate: Do not push an extra buffer on EOS when we are done pushing already
authorThibault Saunier <tsaunier@igalia.com>
Mon, 25 May 2020 16:31:32 +0000 (12:31 -0400)
committerThibault Saunier <tsaunier@igalia.com>
Tue, 26 May 2020 19:35:00 +0000 (15:35 -0400)
commitdc47232d0d44da32d073e71cb1d7bd87f9e51d15
tree42606a26dab315326dda24af55fb7349b31db4f4
parentb46718b1a041250a24dec339473e5da51a569bc8
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>
gst/videorate/gstvideorate.c
tests/validate/meson.build
tests/validate/videorate/10_to_1fps.validatetest [new file with mode: 0644]
tests/validate/videorate/10_to_1fps/flow-expectations/log-videorate-sink-expected [new file with mode: 0644]
tests/validate/videorate/10_to_1fps/flow-expectations/log-videorate-src-expected [new file with mode: 0644]
tests/validate/videorate/reverse.10_to_1fps.validatetest [new file with mode: 0644]
tests/validate/videorate/reverse.10_to_1fps/flow-expectations/log-videorate-sink-expected [new file with mode: 0644]
tests/validate/videorate/reverse.10_to_1fps/flow-expectations/log-videorate-src-expected [new file with mode: 0644]
tests/validate/videorate/videorate-test.meta [new file with mode: 0644]