Event.this

Create a new instant-rate-sync-time event. This event is sent by the pipeline to notify elements handling the instant-rate-change event about the running-time when the new rate should be applied. The running time may be in the past when elements handle this event, which can lead to switching artifacts. The magnitude of those depends on the exact timing of event delivery to each element and the magnitude of the change in playback rate being applied.

The @running_time and @upstream_running_time are the same if this is the first instant-rate adjustment, but will differ for later ones to compensate for the accumulated offset due to playing at a rate different to the one indicated in the playback segments.

Parameters

rateMultiplier double

the new playback rate multiplier to be applied

runningTime GstClockTime

Running time when the rate change should be applied

upstreamRunningTime GstClockTime

The upstream-centric running-time when the rate change should be applied.

Return Value

the new instant-rate-sync-time event.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

1.18