GNOME Bugzilla – Bug 516187
adding gst_collect_pads_read_buffer () collectpads
Last modified: 2008-02-15 13:14:57 UTC
I would like to add GstBuffer * gst_collect_pads_read_buffer(GstCollectPads *pads, GstCollectData *data, guint size) to GstCollectPads. It should cfreate a subbuffer. This would allow the callee to also get access to buffer-flags. I need this to make adder GAP-aware (that is skip mixing for sparse streams). Any thought. better ideas for API name?
Created attachment 105214 [details] [review] implementation
I named it gst_collect_pads_take_buffer() as it is kind of similar to gst_adapter_take_buffer
2008-02-15 Stefan Kost <ensonic@users.sf.net> * docs/libs/gstreamer-libs-sections.txt: * libs/gst/base/gstcollectpads.c: * libs/gst/base/gstcollectpads.h: Add sub-buffer functions to collectpads. Fixes #516187. API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()