Module: Gst::SeekFlags

Defined in:
(unknown)

Constant Summary collapse

NONE =

no flag

0 or :none
FLUSH =

flush pipeline

1 or :flush
ACCURATE =

accurate position is requested, this might be considerably slower for some formats.

2 or :accurate
KEY_UNIT =

seek to the nearest keyframe. This might be faster but less accurate.

4 or :key_unit
SEGMENT =

perform a segment seek.

8 or :segment
TRICKMODE =

when doing fast forward or fast reverse playback, allow elements to skip frames instead of generating all frames. (Since: 1.6)

16 or :trickmode
SKIP =

Deprecated backward compatibility flag, replaced by %GST_SEEK_FLAG_TRICKMODE

16 or :skip
SNAP_BEFORE =

go to a location before the requested position, if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe at or before the requested position the one at or before the seek target.

32 or :snap_before
SNAP_AFTER =

go to a location after the requested position, if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe at of after the requested position.

64 or :snap_after
SNAP_NEAREST =

go to a position near the requested position, if %GST_SEEK_FLAG_KEY_UNIT this means the keyframe closest to the requested position, if both keyframes are at an equal distance, behaves like %GST_SEEK_FLAG_SNAP_BEFORE.

96 or :snap_nearest
TRICKMODE_KEY_UNITS =

when doing fast forward or fast reverse playback, request that elements only decode keyframes and skip all other content, for formats that have keyframes. (Since: 1.6)

128 or :trickmode_key_units
TRICKMODE_NO_AUDIO =

when doing fast forward or fast reverse playback, request that audio decoder elements skip decoding and output only gap events or silence. (Since: 1.6)

256 or :trickmode_no_audio
TRICKMODE_FORWARD_PREDICTED =

When doing fast forward or fast reverse playback, request that elements only decode keyframes and forward predicted frames and skip all other content (for example B-Frames), for formats that have keyframes and forward predicted frames. (Since: 1.18)

512 or :trickmode_forward_predicted
INSTANT_RATE_CHANGE =

Signals that a rate change should be applied immediately. Only valid if start/stop position are GST_CLOCK_TIME_NONE, the playback direction does not change and the seek is not flushing. (Since: 1.18)

1024 or :instant_rate_change