VideoInfo.setInterlacedFormat

Same as #gst_video_info_set_format but also allowing to set the interlaced mode.

class VideoInfo
bool
setInterlacedFormat

Parameters

format gstvideo.types.VideoFormat

the format

mode gstvideo.types.VideoInterlaceMode

a #GstVideoInterlaceMode

width uint

a width

height uint

a height

Return Value

Type: bool

false if the returned video info is invalid, e.g. because the size of a frame can't be represented as a 32 bit integer.