[Bug 772151] vaapi: gst_vaapi_video_memory_map() should ignore unknown mapping flags

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Nov 9 18:54:31 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=772151

Víctor Manuel Jáquez Leal <vjaquez at igalia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #339390|0                           |1
        is obsolete|                            |

--- Comment #9 from Víctor Manuel Jáquez Leal <vjaquez at igalia.com> ---
Created attachment 339411
  --> https://bugzilla.gnome.org/attachment.cgi?id=339411&action=edit
vaapivideomemory: refactor vaapi memory mapping

There were duplicated code in gst_video_meta_map_vaapi_memory() and
gst_vaapi_video_memory_map() when doing the READ and WRITE mapping.

This patch refactors both methods adding the common function
map_vaapi_memory().

Additionally, only when flag has the READ bit it calls
ensure_images_is_current(), which was done in
gst_video_meta_map_vaapi_memory() but no in gst_vaapi_video_memory_map().

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