Enum MediaSeek (gb.media)

Enum MediaSeek Is SeekAccurate, SeekKeyUnit, SeekSnapAfter, SeekSnapBefore, SeekSnapNearest, SeekTrickMode, SeekTrickModeKeyUnit, SeekTrickModeNoAudio

Constant Description
SeekAccurate   Accurate seeking is requested, this might be considerably slower for some formats.

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

SeekSnapAfter   Go to a location after the requested position. With the SeekKeyUnit flag, it means the keyframe at of after the requested position.

SeekSnapBefore   Go to a location before the requested position. With the SeekKeyUnit flag, it means the keyframe at or before the requested position the one at or before the seek target.

SeekSnapNearest   Go to a position near the requested position. With the SeekKeyUnit flag, it means the keyframe closest to the requested position. If both keyframes are at an equal distance, behaves like SeekSnapBefore.

SeekTrickMode   When doing fast forward or fast reverse playback, allow elements to skip frames instead of generating all frames.

SeekTrickModeKeyUnit   When doing fast forward or fast reverse playback, request that elements only decode keyframes and skip all other content, for formats that have keyframes.

SeekTrickModeNoAudio   When doing fast forward or fast reverse playback, request that audio decoder elements skip decoding and output only gap events or silence.