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 491050 - GstAppSink should support random access
GstAppSink should support random access
Status: RESOLVED DUPLICATE of bug 413418
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other All
: Normal enhancement
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2007-10-28 13:01 UTC by Dominique Würtz
Modified: 2008-06-12 16:17 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement



Description Dominique Würtz 2007-10-28 13:01:43 UTC
GstAppSink should be able to operate in pull-mode and provide an API something like

GstBuffer * gst_app_sink_pull_range(guint64 offset, guint size);

There would probably be an additional property "can-activate-pull" (like fakesink has) needed?
Comment 1 Wim Taymans 2007-10-29 11:47:55 UTC
What is the use case here? 
Comment 2 Dominique Würtz 2007-10-29 20:29:14 UTC
I'm developing an audio waveform rendering framework based on GStreamer. The waveform peak extraction and caching takes place in a pipeline with mainly custom elements. An application would use an appsink to retrieve the waveform data to be drawn in some expose-event callback. As the app decides which parts of the waveform need to be (re)drawn, random access is needed. The pipeline operates in pull-mode to make sure that disk access is limited to what is absolutely necessary.
Comment 3 Wim Taymans 2008-06-12 16:17:02 UTC

*** This bug has been marked as a duplicate of 413418 ***