diff options
author | Matthew Waters <matthew@centricular.com> | 2016-09-01 19:46:31 +1000 |
---|---|---|
committer | Matthew Waters <matthew@centricular.com> | 2016-09-08 16:14:41 +1000 |
commit | 7b566b2964657c8a442d891ebe2d542b9ae9a8eb (patch) | |
tree | e3342c43de7b641845f1ef1fadfa31c63b0b2054 /ext/vulkan/vkupload.c | |
parent | c110b62cf82cc374cd5db82de734f2c47552e9e2 (diff) | |
download | gstreamer-plugins-bad-7b566b2964657c8a442d891ebe2d542b9ae9a8eb.tar.gz |
vkupload: add video/x-raw to the VulkanBuffer uploader
Allows upstream elements that use our memory to passthrough without copying.
Diffstat (limited to 'ext/vulkan/vkupload.c')
-rw-r--r-- | ext/vulkan/vkupload.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/vulkan/vkupload.c b/ext/vulkan/vkupload.c index c0f0a9791..4988c640a 100644 --- a/ext/vulkan/vkupload.c +++ b/ext/vulkan/vkupload.c @@ -161,7 +161,8 @@ _buffer_free (gpointer impl) } 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 = GST_STATIC_CAPS ("video/x-raw(" GST_CAPS_FEATURE_MEMORY_VULKAN_BUFFER ")"); |