[Bug 773833] rtpL16depay, rtpL24depay: support depayloading in place

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 7 10:09:22 UTC 2016


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

--- Comment #5 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
(In reply to Petr Kulhavy from comment #4)
> I've starting writing the patch for the second part and I'm wondering if the
> gst_rtp_drop_meta() in gst_rtp_L16_depay_process() also requires
> gst_buffer_make_writable() to be called beforehand?
> 
> Because if yes then the copy is inevitable even in case the channels come
> already in the right order...

We could make it so that it only requires writability if there are metas to be
dropped. But your problem is not the make_writable() AFAIU, but that you need
to map the buffer writable. These are two different aspects. The writability of
the buffer (the metadata) and the memory (the actual media).

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