VideoFormat.fromFourcc

Converts a FOURCC value into the corresponding #GstVideoFormat. If the FOURCC cannot be represented by #GstVideoFormat, #GST_VIDEO_FORMAT_UNKNOWN is returned.

struct VideoFormat
static
fromFourcc
(
uint fourcc
)

Parameters

fourcc uint

a FOURCC value representing raw YUV video

Return Value

Type: gstvideo.types.VideoFormat

the #GstVideoFormat describing the FOURCC value