[Bug 795021] Reduce amount of memory allocations when payloading fixed-size audio buffers
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Apr 25 13:39:58 UTC 2018
https://bugzilla.gnome.org/show_bug.cgi?id=795021
--- Comment #21 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Mathieu Duponchelle from comment #20)
> >
> > Also I'm not entirely sure this is correct. In theory upstream could take
> > one of our buffers, have the single reference and add memories or resize it
> > or whatever. But that does not change buffer->pool, does it?
>
> It will not change it no. We could check if the memory tag is set, and then
> compare the buffer sizes with our expectations maybe ?
Yes and I believe you want to unset that flag if the buffer looks according to
our expectations? Isn't every buffer that has the flag set discarded?
--
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