mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
vkupload: add video/x-raw to the VulkanBuffer uploader
Allows upstream elements that use our memory to passthrough without copying.
This commit is contained in:
parent
c110b62cf8
commit
7b566b2964
1 changed files with 2 additions and 1 deletions
|
@ -161,7 +161,8 @@ _buffer_free (gpointer impl)
|
||||||
}
|
}
|
||||||
|
|
||||||
static GstStaticCaps _buffer_in_templ =
|
static GstStaticCaps _buffer_in_templ =
|
||||||
GST_STATIC_CAPS ("video/x-raw(" GST_CAPS_FEATURE_MEMORY_VULKAN_BUFFER ")");
|
GST_STATIC_CAPS ("video/x-raw(" GST_CAPS_FEATURE_MEMORY_VULKAN_BUFFER ") ;"
|
||||||
|
"video/x-raw");
|
||||||
static GstStaticCaps _buffer_out_templ =
|
static GstStaticCaps _buffer_out_templ =
|
||||||
GST_STATIC_CAPS ("video/x-raw(" GST_CAPS_FEATURE_MEMORY_VULKAN_BUFFER ")");
|
GST_STATIC_CAPS ("video/x-raw(" GST_CAPS_FEATURE_MEMORY_VULKAN_BUFFER ")");
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue