[Bug 774983] avdec_h264 is not copying metadata to the outputbuffer
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Tue Nov 29 05:59:25 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774983
--- Comment #15 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
That's because gst_buffer_make_writable() takes ownership of whatever you pass
to it and returns a new buffer (or the same if nothing was needed).
The general pattern is "out_frame->output_buffer = gst_buffer_make_writable
(out_frame->output_buffer)". You also don't need to check for writability
first, the function does nothing if not needed.
--
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