[Bug 753769] srtpenc: add utility for custom RTP packet management before being protected

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Aug 19 08:38:19 PDT 2015


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

--- Comment #11 from Olivier CrĂȘte <olivier.crete at ocrete.ca> ---
I still think the signal is a bad idea. What you can do instead is to remove
the copy from srtpenc if the underlying buffer is writable and has enough space
available afterwards. That way, your element can just allocate a bigger buffer
than needed and srtpenc won't do a copy. It will do the same effect but without
having strange APIs. This will completely eliminate the copy in other cases.
 I guess srtpenc could return this required "padding" through the allocation
query in a GstAllocationParams.

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