VideoInfoDmaDrm.fromCaps

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