plugins: video memory: Add a GST_MAP_VAAPI flag to peek the surface.
authorHe Junyan <junyan.he@intel.com>
Fri, 14 May 2021 03:49:01 +0000 (11:49 +0800)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Wed, 25 Aug 2021 01:47:21 +0000 (01:47 +0000)
commitc27c158cb2efe285f6fcf909cb49e8a0ac88c568
tree0c918650b4f2976dd651daafe708bee1368c608e
parente0a56f339193e057415bfaf7cfea5106e5e97590
plugins: video memory: Add a GST_MAP_VAAPI flag to peek the surface.

Just like what we do in VA plugins, the GST_MAP_VAAPI can directly
peek the surface of the VA buffers. The old flag 0 just peek the
surface proxy, which may not be convenient for the users who do not
want to include our headers.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/435>
gst/vaapi/gstvaapivideomemory.c
gst/vaapi/gstvaapivideomemory.h