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:
f82850c
)
plugin: util: Add the missing DMA buffer input in template caps.
author
He Junyan
<junyan.he@intel.com>
Tue, 21 Jul 2020 14:05:08 +0000
(22:05 +0800)
committer
He Junyan
<junyan.he@intel.com>
Tue, 21 Jul 2020 14:07:49 +0000
(22:07 +0800)
We pass the wrong parameter to gst_vaapi_build_caps_from_formats()
and lose the DMA feature in caps.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/362>
gst/vaapi/gstvaapipluginutil.c
patch
|
blob
|
history
diff --git
a/gst/vaapi/gstvaapipluginutil.c
b/gst/vaapi/gstvaapipluginutil.c
index
0e55640
..
c558138
100644
(file)
--- a/
gst/vaapi/gstvaapipluginutil.c
+++ b/
gst/vaapi/gstvaapipluginutil.c
@@
-1233,7
+1233,8
@@
gst_vaapi_build_template_caps_by_codec (GstVaapiDisplay * display,
}
out_caps = gst_vaapi_build_caps_from_formats (supported_fmts, 1, 1,
- G_MAXINT, G_MAXINT, TRUE);
+ G_MAXINT, G_MAXINT,
+ from_GstVaapiBufferMemoryType (GST_VAAPI_BUFFER_MEMORY_TYPE_DMA_BUF));
out:
if (profiles)