Class (GI Struct)

GstVideo-1.0GstVideoVideoInfoDmaDrmSince 1.24

Information describing a DMABuf image properties. It wraps GstVideo.VideoInfo and adds DRM information such as drm-fourcc and drm-modifier, required for negotiation and mapping.

1.24

Index
drm_fourcc: number
drm_modifier: number
  • Convert the values of drm_info into a Gst.Caps. Please note that the caps returned will be a dma drm caps which sets format field to DMA_DRM, and contains a new drm-format field. The value of drm-format field is composed of a drm fourcc and a modifier, such as NV12:0x0100000000000002.

    Returns Gst.Caps

    a new Gst.Caps containing the info in drm_info.

    1.24