VideoFormat.toFourcc

Converts a #GstVideoFormat value into the corresponding FOURCC. Only a few YUV formats have corresponding FOURCC values. If format has no corresponding FOURCC value, 0 is returned.

struct VideoFormat
static
uint
toFourcc

Parameters

format gstvideo.types.VideoFormat

a #GstVideoFormat video format

Return Value

Type: uint

the FOURCC corresponding to format