After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 628400 - [videorate] does not generate buffers to fill the duration of the last frame
[videorate] does not generate buffers to fill the duration of the last frame
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.31
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-08-31 08:43 UTC by Nicolas Bingham
Modified: 2010-09-01 09:34 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Nicolas Bingham 2010-08-31 08:43:09 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.
Comment 1 Sebastian Dröge (slomo) 2010-09-01 09:34:41 UTC
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