[Bug 704083] Improve GstBuffer/GstVideoFrame mappings for HW surfaces
GStreamer (bugzilla.gnome.org)
bugzilla at gnome.org
Tue Jul 16 08:01:56 PDT 2013
https://bugzilla.gnome.org/show_bug.cgi?id=704083
GStreamer | don't know | git
Wim Taymans <wim.taymans> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |wim.taymans at gmail.com
--- Comment #3 from Wim Taymans <wim.taymans at gmail.com> 2013-07-16 15:01:53 UTC ---
(In reply to comment #2)
> (In reply to comment #0)
>
> > GstBuffer layer. Add a flag to notify the GstMemory handlers that on
> > GST_MAP_READWRITE, we are going to effectively read from the buffer, prior to
> > writing to it. e.g. GST_MAP_READ_FIRST. In this case, GST_MAP_READWRITE could
> > mean read for "intermediate" operations to the caller and next write/commit on
> > un-map.
>
> Sounds like a good idea IMHO :)
I think READ_FIRST should be the default, I think elements that map RW expect
to be able to read valid data before writing.
So, I would make WRITE_FIRST as an option and then I would go and add that flag
to where it matters.
--
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