mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 03:31:05 +00:00
video: dma: let gst_video_info_dma_drm_to_caps() return caps with DMABuf feature
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5107>
This commit is contained in:
parent
5fd3c8a16c
commit
9e863976c9
1 changed files with 3 additions and 0 deletions
|
@ -271,6 +271,9 @@ gst_video_info_dma_drm_to_caps (const GstVideoInfoDmaDrm * drm_info)
|
|||
return NULL;
|
||||
}
|
||||
|
||||
gst_caps_set_features_simple (caps,
|
||||
gst_caps_features_from_string (GST_CAPS_FEATURE_MEMORY_DMABUF));
|
||||
|
||||
str = gst_video_dma_drm_fourcc_to_string (drm_info->drm_fourcc,
|
||||
drm_info->drm_modifier);
|
||||
|
||||
|
|
Loading…
Reference in a new issue