peer_query_duration


Description:

public bool peer_query_duration (Format format, out int64 duration)

Queries the peer pad of a given sink pad for the total stream duration.

Parameters:

this

a Pad on whose peer pad to invoke the duration query on. Must be a sink pad.

format

the Format requested

duration

a location in which to store the total duration, or null.

Returns:

true if the query could be performed.