[Bug 767383] Critical error gst_buffer_map_range: assertion 'GST_IS_BUFFER (buffer)' failed with gst-validate

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Jun 13 09:15:19 UTC 2016


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

--- Comment #9 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
There's not enough context to say anything about this code. One possible
problem is this though:

> info->configdata =                    
>     gst_buffer_make_writable(gst_value_get_buffer(header_val));

With this you invalidate the buffer that is inside the array inside the caps,
and as such later usage of the caps causes problems. Copy the buffer here
instead of example.

Also below you do g_value_dup_boxed() (which is ok), but you forget to unref
the buffer. So would leak it.

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