[Bug 572973] [API] buffer size query or indication from audio encoders to upstream how many samples to produce per buffer
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue May 31 13:05:33 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=572973
--- Comment #18 from Nicolas Dufresne (stormer) <nicolas at ndufresne.ca> ---
(In reply to Stefan Sauer (gstreamer, gtkdoc dev) from comment #17)
> What I am saying is that using:
> gst_query_add_allocation_pool (query, NULL, preferred_size, 0, 0);
> sound like a hack to me (even though pool=NULL is allowed). I am mostly
> concerned that it won't be very discoverable, since the the api name suggest
> that we configure a pool.
We already do that to expose min/max buffer. It's not a hack. Btw, you should
set at least 1, 0, otherwise it's not a valid config for a pool. Audio decoder
base class should have an proper_allocation() virtual method to make it easy to
implement.
--
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