[Bug 774983] avdec_h264 is not copying metadata to the outputbuffer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Nov 29 04:04:20 UTC 2016


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

--- Comment #14 from parithi <parithi at gmail.com> ---
Nicolas/Tim,

If I make the buffer writable by adding below code just before
gst_video_decoder_finish_frame() call

   if(!gst_buffer_is_writable(out_frame->output_buffer))
   {
         gst_buffer_make_writable(out_frame->output_buffer);
   }


Then I am getting following error



(gst-launch-1.0:10963): GStreamer-CRITICAL **: gst_mini_object_unref: assertion
'mini_object->refcount > 0' failed

** (gst-launch-1.0:10963): CRITICAL **: gst_video_frame_map_id: assertion
'GST_IS_BUFFER (buffer)' failed
ERROR: from element /GstPipeline:pipeline0/avdec_h264:avdec_h264-0: Cannot
access memory for read and write operation.
Additional debug info:
gstavviddec.c(865): gst_ffmpegviddec_get_buffer2 ():
/GstPipeline:pipeline0/avdec_h264:avdec_h264-0:

The video memory allocated from downstream pool could not mapped forread and
write.
Execution ended after 0:00:00.2103

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