VideoInfoDmaDrm.toVideoInfo

Convert the #GstVideoInfoDmaDrm into a traditional #GstVideoInfo with recognized video format. For DMA kind memory, the non linear DMA format should be recognized as #GST_VIDEO_FORMAT_DMA_DRM. This helper function sets info's video format into the default value according to drm_info's drm_fourcc field.

class VideoInfoDmaDrm
bool
toVideoInfo

Parameters

info gstvideo.video_info.VideoInfo

#GstVideoInfo

Return Value

Type: bool

true if info is converted correctly.