avdec_h264 is not copying metadata to the outputbuffer

parithi parithi at gmail.com
Wed Nov 23 12:43:34 UTC 2016


I have implemented a new GstMeta with tag "video". It is populated in
h264parse plugin and sent to downstream along with the output buffer. I am
expecting all downstream elements should propagate this meta data along with
output buffer. But if I run the following pipeline

gst-launch-1.0 filesrc location=input.ts ! tsdemux ! h264parse !
'video/x-h264, stream-format=byte-stream' ! avdec_h264 ! x264enc ! mpegtsmux
! filesink location=out.ts

I am getting following error.

(gst-launch-1.0:22191): GStreamer-CRITICAL **: gst_buffer_add_meta:
assertion 'gst_buffer_is_writable (buffer)' failed
Caught SIGSEGV.

>From my analysis, I found that refcount of avdec_h264 is always 2. So the
transform function is failed to append meta data to the outputbuffer.

Please let me if you have any suggestion/solution for this issue?




--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/avdec-h264-is-not-copying-metadata-to-the-outputbuffer-tp4680842.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list