[Bug 739693] assrender doesn't render frames into given memory area
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Thu Nov 6 07:07:58 PST 2014
https://bugzilla.gnome.org/show_bug.cgi?id=739693
GStreamer | gst-plugins-base | git
--- Comment #6 from Andreas Frisch <fraxinas at opendreambox.org> 2014-11-06 15:07:54 UTC ---
so it does the copy because this gst_buffer_map operation has the flag
GST_MAP_WRITE, even though refcount=1 and writable=1
i dived through gstbuffer.c and gstmemory.c into gstminiobject.c
it turns out that the gst_memory_lock() call in gst_memory_map() fails at this
condition in gst_mini_object_lock()
/* access_mode must match */
if ((state & access_mode) != access_mode)
debug output is
lock failed 0x72006800: state 00010101, access_mode 2
as a result it then allocates new memory for this buffer
a few lines down below in the log i see that the lock also fails the other way
around for a different memory
lock failed 0x709aa008: state 00010102, access_mode 1
--
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- 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