public static interface Bus.DURATION
This message is received by bins and is used to calculate the total duration of a pipeline.
Elements may post a duration message with a duration of
ClockTime.NONE
to indicate that the duration has changed and the
cached duration should be discarded. The new duration can then be
retrieved via a query.
The application can get the new duration with a duration query.
Modifier and Type | Method and Description |
---|---|
void |
durationChanged(GstObject source,
Format format,
long duration)
Called when a new duration message is posted on the Bus.
|