[Bug 774983] avdec_h264 is not copying metadata to the outputbuffer
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Sat Nov 26 05:42:44 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=774983
--- Comment #8 from parithi <parithi at gmail.com> ---
Sebastian,
Yes, the copying may cause segfault as you mentioned. But here, that's not the
cause for the issue I mentioned. The issue ('gst_buffer_is_writable (buffer)'
failed) exists even if there is no payload element in the structure.
I tried the same pipeline with "direct-rendering=false", it works properly.
As per GstVideoDecoder documentation, after calling
gst_video_decoder_finish_frame() function, the output buffer of the frame is to
be considered read-only.
With direct-rendering=true, which is the default value, output buffer is
becoming read-only even before calling gst_video_decoder_finish_frame().
Because of this gst_buffer_add_h264_meta() function, which is called inside
gst_video_decoder_finish_frame(), is failing.
--
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