VideoInterlaceMode.fromString

Convert mode to a #GstVideoInterlaceMode

struct VideoInterlaceMode
static
fromString
(
string mode
)

Parameters

mode string

a mode

Return Value

Type: gstvideo.types.VideoInterlaceMode

the #GstVideoInterlaceMode of mode or #GST_VIDEO_INTERLACE_MODE_PROGRESSIVE when mode is not a valid string representation for a #GstVideoInterlaceMode.