mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-31 11:32:38 +00:00
design: trickmodes: switch to conventional figure format
Follow figure guidelines from conventions.md. Additionally: add some missing markup.
This commit is contained in:
parent
fee2433e04
commit
c2eb75ee4d
1 changed files with 10 additions and 10 deletions
|
@ -25,13 +25,13 @@ pipeline.
|
||||||
Consider a typical playback pipeline:
|
Consider a typical playback pipeline:
|
||||||
|
|
||||||
```
|
```
|
||||||
.---------. .------.
|
+---------+ +------+
|
||||||
.-------. | decoder |->| sink |
|
+-------+ | decoder |->| sink |
|
||||||
.--------. | |-->'---------' '------'
|
+--------+ | |-->+---------+ +------+
|
||||||
| source |->| demux |
|
| source |->| demux |
|
||||||
'--------' | |-->.---------. .------.
|
+--------+ | |-->+---------+ +------+
|
||||||
'-------' | decoder |->| sink |
|
+-------+ | decoder |->| sink |
|
||||||
'---------' '------'
|
+---------+ +------+
|
||||||
```
|
```
|
||||||
|
|
||||||
The pipeline is initially configured to play back at speed 1.0 starting
|
The pipeline is initially configured to play back at speed 1.0 starting
|
||||||
|
@ -157,7 +157,7 @@ the media contains data with non-standard playback speed or direction.
|
||||||
|
|
||||||
## client side forward trickmodes
|
## client side forward trickmodes
|
||||||
|
|
||||||
The seek happens as stated above. a SEGMENT event is sent downstream
|
The seek happens as stated above. a `SEGMENT` event is sent downstream
|
||||||
with a rate different from 1.0. Plugins receiving the `SEGMENT` can decide
|
with a rate different from 1.0. Plugins receiving the `SEGMENT` can decide
|
||||||
to perform the rate conversion of the media data (retimestamp video
|
to perform the rate conversion of the media data (retimestamp video
|
||||||
frames, resample audio, …).
|
frames, resample audio, …).
|
||||||
|
@ -206,11 +206,11 @@ For plugins the following rules apply:
|
||||||
previous buffer.
|
previous buffer.
|
||||||
|
|
||||||
- A video decoder decodes and accumulates all decoded frames. If a
|
- A video decoder decodes and accumulates all decoded frames. If a
|
||||||
buffer with a DISCONT, SEGMENT or EOS is received, all accumulated
|
buffer with a `DISCONT`, `SEGMENT` or `EOS` is received, all accumulated
|
||||||
frames are sent downsteam in reverse.
|
frames are sent downsteam in reverse.
|
||||||
|
|
||||||
- An audio decoder decodes and accumulates all decoded audio. If a
|
- An audio decoder decodes and accumulates all decoded audio. If a
|
||||||
buffer with a DISCONT, SEGMENT or EOS is received, all accumulated
|
buffer with a `DISCONT`, `SEGMENT` or `EOS` is received, all accumulated
|
||||||
audio is sent downstream in reverse order. Some audio codecs need
|
audio is sent downstream in reverse order. Some audio codecs need
|
||||||
the previous data buffer to decode the current one, in that case,
|
the previous data buffer to decode the current one, in that case,
|
||||||
the previous DISCONT buffer needs to be combined with the last
|
the previous DISCONT buffer needs to be combined with the last
|
||||||
|
@ -225,7 +225,7 @@ For plugins the following rules apply:
|
||||||
- for transcoding, audio and video resamplers can be used to reverse,
|
- for transcoding, audio and video resamplers can be used to reverse,
|
||||||
resample and retimestamp the buffers. Any rate adjustments performed
|
resample and retimestamp the buffers. Any rate adjustments performed
|
||||||
on the media must be added to the `applied_rate` and subtracted from
|
on the media must be added to the `applied_rate` and subtracted from
|
||||||
the rate members in the SEGMENT
|
the rate members in the `SEGMENT`
|
||||||
event.
|
event.
|
||||||
|
|
||||||
In `SKIP` mode, the same algorithm as for forward `SKIP` mode can be used.
|
In `SKIP` mode, the same algorithm as for forward `SKIP` mode can be used.
|
||||||
|
|
Loading…
Reference in a new issue