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.

class VideoInfoDmaDrm
static
newFromCaps

Parameters

caps gst.caps.Caps

a #GstCaps

Return Value

Type: gstvideo.video_info_dma_drm.VideoInfoDmaDrm

A #GstVideoInfoDmaDrm, or null if caps couldn't be parsed.