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.

class VideoInfoDmaDrm
static
bool
fromCaps

Parameters

drmInfo gstvideo.video_info_dma_drm.VideoInfoDmaDrm

#GstVideoInfoDmaDrm

caps gst.caps.Caps

a #GstCaps

Return Value

Type: bool

TRUE if caps could be parsed