checkSetupEvents

fnvoid checkSetupEvents(gst.pad.Pad srcpad, gst.element.Element element, gst.caps.Caps caps, gst.types.Format format)

Push stream-start, caps and segment event, which consist of the minimum required events to allow streaming. Caps is optional to allow raw src testing. If element has more than one src or sink pad, use [gstcheck.global.checkSetupEventsWithStreamId] instead.

Parameters

srcpadThe src #GstPad to push on
elementThe #GstElement use to create the stream id
caps#GstCaps in case caps event must be sent
formatThe #GstFormat of the default segment to send