Event.this

Create a new instant-rate-change event. This event is sent by seek handlers (e.g. demuxers) when receiving a seek with the %GST_SEEK_FLAG_INSTANT_RATE_CHANGE 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.

Parameters

rateMultiplier double

the multiplier to be applied to the playback rate

newFlags GstSegmentFlags

A new subset of segment flags to replace in segments

Return Value

the new instant-rate-change event.

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

1.18