VideoInfoDmaDrm.fromCaps

bool fromCaps(out gstvideo.video_info_dma_drm.VideoInfoDmaDrm drmInfo, gst.caps.Caps caps) static nothrow

Parse caps and update info. Please note that the caps should be a dma drm caps. The gstvideo.global.videoIsDmaDrmCaps can be used to verify it before calling this function.

Parameters

drmInfo#GstVideoInfoDmaDrm
capsa #GstCaps

Returns

TRUE if caps could be parsed