gst.caps.Caps toCaps(gstvideo.types.VideoCaptionType type)
Creates new caps corresponding to type.
type