mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
plugin: util: Add the missing DMA buffer input in template caps.
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>
This commit is contained in:
parent
f82850c6d3
commit
2da3314534
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue