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
@ -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…
x
Reference in New Issue
Block a user