Event.newInstantRateChange

Create a new instant-rate-change event. This event is sent by seek handlers (e.g. demuxers) when receiving a seek with the gst.types.SeekFlags.InstantRateChange and signals to downstream elements that the playback rate in the existing segment should be immediately multiplied by the rate_multiplier factor.

The flags provided replace any flags in the existing segment, for the flags within the GST_SEGMENT_INSTANT_FLAGS set. Other GstSegmentFlags are ignored and not transferred in the event.

class Event
static
newInstantRateChange

Parameters

rateMultiplier double

the multiplier to be applied to the playback rate

newFlags gst.types.SegmentFlags

A new subset of segment flags to replace in segments

Return Value

Type: gst.event.Event

the new instant-rate-change event.