mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
design: seeking: rewrite non/flush-seek explanation for clarity
This commit is contained in:
parent
8561b28bad
commit
24b514fbc5
1 changed files with 4 additions and 7 deletions
|
@ -16,13 +16,10 @@ current playback position. To seek relative to the current playback
|
||||||
position, one must query the position first and then perform an absolute
|
position, one must query the position first and then perform an absolute
|
||||||
seek to the desired position.
|
seek to the desired position.
|
||||||
|
|
||||||
Feedback of the seek operation can be immediately using the
|
If a seek operation is requested using the `GST_SEEK_FLAG_FLUSH` flag, all
|
||||||
`GST_SEEK_FLAG_FLUSH` flag. With this flag, all pending data in the
|
pending data in the pipeline is discarded and playback starts from the new
|
||||||
pipeline is discarded and playback starts from the new position
|
position immediately. If this flag is not set, the seek is queued to be
|
||||||
immediately.
|
executed as soon as possible, which might be after all queues are emptied.
|
||||||
|
|
||||||
When the `FLUSH` flag is not set, the seek will be queued and executed as
|
|
||||||
soon as possible, which might be after all queues are emptied.
|
|
||||||
|
|
||||||
Seeking can be performed in different formats such as time, frames or
|
Seeking can be performed in different formats such as time, frames or
|
||||||
samples.
|
samples.
|
||||||
|
|
Loading…
Reference in a new issue