GNOME Bugzilla – Bug 491050
GstAppSink should support random access
Last modified: 2008-06-12 16:17:02 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?
What is the use case here?
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.
*** This bug has been marked as a duplicate of 413418 ***