Enum ac_ffmpeg::format::demuxer::SeekTarget
source · pub enum SeekTarget {
From,
UpTo,
Precise,
}
Expand description
Used to specify a search direction when a stream cannot seek exactly to the requested target point; timestamp, frame or byte.
Variants§
From
Seek, at least, to the requested target point in the stream. If the target cannot be met then move forward in the stream until a possible seek target can be hit.
UpTo
Seek, at most, to the requested target point in the stream. If the target cannot be met then move backward in the stream until a possible seek target can be hit.
Precise
Force seeking to the requested target point in the stream, even if the Demuxer for this type of stream, does not support it.