GNOME Bugzilla – Bug 628400
[videorate] does not generate buffers to fill the duration of the last frame
Last modified: 2010-09-01 09:34:41 UTC
In the following example, fakesink should see ten buffers, but it only sees one. gst-launch videotestsrc num-buffers=1 ! video/x-raw-yuv,framerate=1/1 ! videorate ! video/x-raw-yuv,framerate=10/1 ! fakesink -v slomo: Arguably it should generate buffers until the segment is done, if the segment has a stop position.
commit 4da242a6b2c57b03e2dc4107c7b34c261e5767db Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Wed Sep 1 11:33:12 2010 +0200 videorate: Fill the segment on EOS or at least produce enough frames to use the complete buffer duration Fixes bug #628400. commit 20d5c6d05cff01aca94cb1d796d50bfe85ce10a2 Author: Sebastian Dröge <sebastian.droege@collabora.co.uk> Date: Wed Sep 1 11:22:25 2010 +0200 videorate: Don't ignore flow returns when filling the previous segment during NEWSEGMENT handling