[Bug 750241] [API] GstBaseSrc: add support for buffer list
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Dec 9 11:15:48 UTC 2017
https://bugzilla.gnome.org/show_bug.cgi?id=750241
Tim-Philipp Müller <t.i.m at zen.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
Target Milestone|git master |1.13.1
--- Comment #16 from Tim-Philipp Müller <t.i.m at zen.co.uk> ---
commit 18fe36a286d3dd806cfe645d643d9cdd8ea19237 (HEAD -> master, origin/master,
origin/HEAD)
Author: Tim-Philipp Müller <tim at centricular.com>
Date: Wed Aug 30 13:03:28 2017 +0100
basesrc: add buffer list support
Add a gst_base_src_submit_buffer_list() function that allows subclasses
to produce a bufferlist containing multiple buffers in the ::create()
function. The buffers in the buffer list will then also be pushed out
in one go as a GstBufferList. This can reduce push overhead
significantly for sources with packetised inputs (such as udpsrc)
in high-throughput scenarios.
The _submit_buffer_list() approach was chosen because it is fairly
straight-forward, backwards-compatible, bindings-friendly (as opposed
to e.g. making the create function return a mini object instead),
and it allows the subclass maximum control: the subclass can decide
dynamically at runtime whether to return a list or a single buffer
(which would be messier if we added a create_list virtual method).
https://bugzilla.gnome.org/show_bug.cgi?id=750241
commit 880c573e8df17185f0773a2bbe412242e870907b
Author: Tim-Philipp Müller <tim at centricular.com>
Date: Thu Aug 31 01:18:28 2017 +0100
basesrc: minor code readability improvement
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list