VideoInfo.setInterlacedFormat

bool setInterlacedFormat(gstvideo.types.VideoFormat format, gstvideo.types.VideoInterlaceMode mode, uint width, uint height)

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

Parameters

formatthe format
modea #GstVideoInterlaceMode
widtha width
heighta height

Returns

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.