[Bug 700044] shapewipe sample pipeline won't work

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu May 9 19:21:06 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=700044
  GStreamer | gst-plugins-good | git

--- Comment #3 from Nicolas Dufresne <nicolas.dufresne at collabora.co.uk> 2013-05-10 02:21:04 UTC ---
Created an attachment (id=243757)
 View: https://bugzilla.gnome.org/attachment.cgi?id=243757
 Review: https://bugzilla.gnome.org/review?bug=700044&attachment=243757

[PATCH] shapewipe: Can't map twice the same buffer for writing


I took the opportunity to simplify that code a bit. We now use
gst_buffer_make_writable() to make the buffer writable and map twice the
same buffer, with first map being read/write, and second read only. This
get rid of the critical:

GStreamer-CRITICAL **: gst_structure_set_name: assertion `IS_MUTABLE

https://bugzilla.gnome.org/show_bug.cgi?id=700044
---
 gst/shapewipe/gstshapewipe.c | 26 +++++++-------------------
 1 file changed, 7 insertions(+), 19 deletions(-)

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