get_stream


Description:

[ Version ( since = "1.10" ) ]
public Stream? get_stream ()

Returns the current Stream for the this, or null if none has been set yet, i.e. the pad has not received a stream-start event yet.

This is a convenience wrapper around get_sticky_event and parse_stream.

Parameters:

this

A source Pad

Returns:

the current Stream for this, or null . unref the returned stream when no longer needed.