[Bug 704083] Improve GstBuffer/GstVideoFrame mappings for HW surfaces

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Wed Jul 17 01:52:57 PDT 2013


https://bugzilla.gnome.org/show_bug.cgi?id=704083
  GStreamer | don't know | git

--- Comment #6 from Gwenole Beauchesne <gb.devel at gmail.com> 2013-07-17 08:52:50 UTC ---
(In reply to comment #2)
> > Of course, the other solution could also be to fix gst-ffmpeg/libav to to call
> > gst_video_frame_map() with GST_MAP_WRITE only, instead of GST_MAP_READWRITE.
> > That probably could be simpler than updating the GstVideoFrame API. :)
> 
> That won't be correct as libav is using our buffers also for reading (e.g. for
> reference frames).

You are right. In this case, this also means other decoders don't appropriately
set GST_MAP_READ flag when needed. :)

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