checkSetupEvents

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

srcpad gst.pad.Pad

The src #GstPad to push on

element gst.element.Element

The #GstElement use to create the stream id

caps gst.caps.Caps

#GstCaps in case caps event must be sent

format gst.types.Format

The #GstFormat of the default segment to send