VideoInfoDmaDrm.toVideoInfo

bool toVideoInfo(out gstvideo.video_info.VideoInfo info)

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.

Parameters

info#GstVideoInfo

Returns

true if info is converted correctly.