Harness.setForwarding
void setForwarding(bool forwarding)As a convenience, a src-harness will forward [gst.types.EventType.StreamStart], [gst.types.EventType.Caps] and [gst.types.EventType.Segment] to the main-harness if forwarding is enabled, and forward any sticky-events from the main-harness to the sink-harness. It will also forward the [gst.types.QueryType.Allocation].
If forwarding is disabled, the user will have to either manually push these events from the src-harness using [gstcheck.harness.Harness.srcPushEvent], or create and push them manually. While this will allow full control and inspection of these events, for the most cases having forwarding enabled will be sufficient when writing a test where the src-harness' main function is providing data for the main-harness.
Forwarding is enabled by default.
MT safe.
Parameters
forwarding | a #gboolean to enable/disable forwarding |