Create a new latency event. The event is sent upstream from the sinks and notifies elements that they should add an additional latency to the running time before synchronising against the clock.

The latency is mostly used in live sinks and is always expressed in the time format.


latency GstClockTime

the new latency value

Return Value


ConstructionException GTK+ fails to create the object.