videoMakeRawCapsWithFeatures

fngst.caps.Caps videoMakeRawCapsWithFeatures(gstvideo.types.VideoFormat[] formats = null, gst.caps_features.CapsFeatures features = null)

Return a generic raw video caps for formats defined in formats with features features. If formats is null returns a caps for all the supported video formats, see [gstvideo.global.videoFormatsRaw].

Parameters

formatsan array of raw #GstVideoFormat, or null
featuresthe #GstCapsFeatures to set on the caps

Returns

a video GstCaps