VideoFormat.fromString

Convert the format string to its #GstVideoFormat.

struct VideoFormat
static
fromString
(
string format
)

Parameters

format string

a format string

Return Value

Type: gstvideo.types.VideoFormat

the #GstVideoFormat for format or GST_VIDEO_FORMAT_UNKNOWN when the string is not a known format.