|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface Bus.DURATION
Signal sent when a new duration message is posted by an element that know the duration of a stream in a specific format.
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.
Bus.connect(DURATION)
,
Bus.disconnect(DURATION)
Method Summary | |
---|---|
void |
durationChanged(GstObject source,
Format format,
long duration)
Called when a new duration message is posted on the Bus. |
Method Detail |
---|
void durationChanged(GstObject source, Format format, long duration)
source
- the element which posted the message.format
- the format of the durationduration
- the new duration.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |