VideoInfoDmaDrm.newFromCaps

Parse caps to generate a #GstVideoInfoDmaDrm. 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

capsa #GstCaps

Returns

A #GstVideoInfoDmaDrm,

or null if caps couldn't be parsed.