Function

GstVideo-1.0GstVideovideo_dma_drm_fourcc_from_stringSince 1.24

  • Convert the format_str string into the drm fourcc value. The modifier is also parsed if we want. Please note that the format_str should follow the fourcc:modifier kind style, such as NV12:0x0100000000000002

    Parameters

    • format_str: string

      a drm format string

    Returns [number, number]

    The drm fourcc value or DRM_FORMAT_INVALID if format_str is invalid.

    1.24