public static interface Bus.DURATION_CHANGED
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.
#connect(DURATION),
#disconnect(DURATION)| Modifier and Type | Method and Description |
|---|---|
void |
durationChanged(GstObject source)
Called when a new duration message is posted on the Bus.
|
void durationChanged(GstObject source)
source - the element which posted the message.Copyright © 2021 gstreamer-java. All rights reserved.