summaryrefslogtreecommitdiff
path: root/gst-libs
diff options
context:
space:
mode:
authorHe Junyan <junyan.he@intel.com>2021-08-16 13:45:39 +0800
committerHe Junyan <junyan.he@intel.com>2021-08-16 16:25:15 +0800
commitfbf6bfd4d8270d110ad6a8657d3b0879994d524b (patch)
tree427526d3826eb3b910d9c90867bbf14a2a1cb40e /gst-libs
parentd14e8055ad57f957cff911c3e2640b418c30c1b2 (diff)
downloadgstreamer-plugins-bad-fbf6bfd4d8270d110ad6a8657d3b0879994d524b.tar.gz
va: Use GST_CAPS_FEATURE_MEMORY_VA to replace "memory:VAMemory".
"memory:VAMemory" is a commonly used string which notates our VA-kind memory type. We now used a definition in va lib to replace the simply string usage. Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/2466>
Diffstat (limited to 'gst-libs')
-rw-r--r--gst-libs/gst/va/gstvadisplay.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gst-libs/gst/va/gstvadisplay.h b/gst-libs/gst/va/gstvadisplay.h
index 3db69558b..ec8e93369 100644
--- a/gst-libs/gst/va/gstvadisplay.h
+++ b/gst-libs/gst/va/gstvadisplay.h
@@ -56,6 +56,13 @@ typedef enum
#define GST_VA_DISPLAY_HANDLE_CONTEXT_TYPE_STR "gst.va.display.handle"
/**
+ * GST_CAPS_FEATURE_MEMORY_VA:
+ *
+ * Since: 1.20
+ */
+#define GST_CAPS_FEATURE_MEMORY_VA "memory:VAMemory"
+
+/**
* GST_VA_DISPLAY_IS_IMPLEMENTATION: (skip)
*
* Check whether the display is the implementation of the specified