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 608309 - [appsrc] Should request new data before the queue is empty
[appsrc] Should request new data before the queue is empty
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
git master
Other Linux
: Normal normal
: 0.10.27
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2010-01-28 06:51 UTC by Sebastian Dröge (slomo)
Modified: 2010-02-12 11:46 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Sebastian Dröge (slomo) 2010-01-28 06:51:58 UTC
It would be nice if appsrc could request new data before the queue is empty. This would result in constantly pushing out data instead of filling the queue, waiting until it's ready again, filling it again, ...

The time when new data should be requested could be configurable by a fill level.
Comment 1 Wim Taymans 2010-02-01 18:31:46 UTC
I have a patch to push after the release.
Comment 2 Sebastian Dröge (slomo) 2010-02-02 08:08:25 UTC
Great, thanks :) Could you attach the patch here?
Comment 3 Wim Taymans 2010-02-12 11:46:41 UTC
We could do something similar for max-percent

commit c94356ad9bdd3e873413fd1476eb0e1d479bb8df
Author: Wim Taymans <wim.taymans@collabora.co.uk>
Date:   Mon Feb 1 19:01:33 2010 +0100

    appsrc: add min-percent property
    
    Emit need-data when the amount of data in the internal queue drops below
    min-percent.
    
    Fixes #608309