[Bug 739754] v4l2bufferpool: Should validate that all memories are writeable before queueing back

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Thu Nov 6 18:22:21 PST 2014


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

--- Comment #1 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2014-11-07 02:22:14 UTC ---
Created an attachment (id=290130)
 View: https://bugzilla.gnome.org/attachment.cgi?id=290130
 Review: https://bugzilla.gnome.org/review?bug=739754&attachment=290130

[PATCH] v4l2bufferpool: Improve buffer validation


Improve buffer validation by making sure each memory are the right
one and that each memory is writable. This fixes tearing issues in
case downstream uses gst_buffer_make_writable() or other type
of GstBuffer copy where memory are only reffed.

https://bugzilla.gnome.org/show_bug.cgi?id=73975
---
 sys/v4l2/gstv4l2bufferpool.c | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 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