Skip to content

video: dma-drm: Add modifier field to FormatMap

Only using fourcc isn't enough to describe DRM formats because they can different flavors when using modifiers. It is needed to add modifier field to FormatMap structure. Since modifier is retrieved from format_map array remove modifier parameter from gst_video_info_dma_drm_from_video_info().

Add gst_video_dma_drm_fourcc_and_modifier_from_format() to get both fourcc and modifier from GstVideoFormat field.

Depends on !7891 (merged)

Edited by Nicolas Dufresne

Merge request reports

Loading