projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c110b62
)
vkupload: add video/x-raw to the VulkanBuffer uploader
author
Matthew Waters
<matthew@centricular.com>
Thu, 1 Sep 2016 09:46:31 +0000
(19:46 +1000)
committer
Matthew Waters
<matthew@centricular.com>
Thu, 8 Sep 2016 06:14:41 +0000
(16:14 +1000)
Allows upstream elements that use our memory to passthrough without copying.
ext/vulkan/vkupload.c
patch
|
blob
|
history
diff --git
a/ext/vulkan/vkupload.c
b/ext/vulkan/vkupload.c
index
c0f0a97
..
4988c64
100644
(file)
--- 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 ")");