[Bug 740900] glbufferpool: Add support for GstVideoAlignement

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Sat Dec 13 18:50:22 PST 2014


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

--- Comment #10 from Nicolas Dufresne (stormer) <nicolas.dufresne at collabora.co.uk> 2014-12-14 02:50:18 UTC ---
Created an attachment (id=292684)
 View: https://bugzilla.gnome.org/attachment.cgi?id=292684
 Review: https://bugzilla.gnome.org/review?bug=740900&attachment=292684

[PATCH] glmemory: Handle upload/download flags from map


Problem was that if buffer was mapped READWRITE (state of buffers from
libav right now), mapping it READ/GL will not upload. This is because the
flag is only set when the buffer is unmapped. We can fix this by setting
the flags in map. This result in already mapped buffer that get mapped
to be read in GL will be uploaded. The problem is that if the write
mapper makes modification afterward, the modification will never get
uploaded.

https://bugzilla.gnome.org/show_bug.cgi?id=740900
---
 gst-libs/gst/gl/gstglmemory.c | 26 +++++++++++---------------
 gst-libs/gst/gl/gstglmemory.h |  1 -
 2 files changed, 11 insertions(+), 16 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.


More information about the gstreamer-bugs mailing list