[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 22:54:40 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=572973

--- Comment #25 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
(In reply to Nicolas Dufresne (stormer) from comment #23)
> That's why I said it's best effort, a  recommendation. Element won't start
> buffering just because the size is bigger. Obviously, as size which is not a
> valid multiple of frame is not valid. It should be rounded up in general.
> 
> It's not going to explode the number of buffers, because no one will break
> GstBuffer in smaller one if downstream suggest a smaller size.

If they use a buffer pool and the buffer pool returns buffer of "size", then
they will probably just copy "size" from the ringbuffer.. If they don't, then
what's the point of this?

-- 
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