mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-12 10:25:33 +00:00
design: latency: add markup to figures and drop manual padding
This commit is contained in:
parent
0ce232b048
commit
b333c4c0fa
1 changed files with 48 additions and 40 deletions
|
@ -50,6 +50,7 @@ An audio capture/playback pipeline.
|
||||||
* asrc: audio source, provides a clock
|
* asrc: audio source, provides a clock
|
||||||
* asink audio sink, provides a clock
|
* asink audio sink, provides a clock
|
||||||
|
|
||||||
|
```
|
||||||
.--------------------------.
|
.--------------------------.
|
||||||
| pipeline |
|
| pipeline |
|
||||||
| .------. .-------. |
|
| .------. .-------. |
|
||||||
|
@ -57,6 +58,7 @@ An audio capture/playback pipeline.
|
||||||
| | src -> sink | |
|
| | src -> sink | |
|
||||||
| '------' '-------' |
|
| '------' '-------' |
|
||||||
'--------------------------'
|
'--------------------------'
|
||||||
|
```
|
||||||
|
|
||||||
* *NULL→READY*:
|
* *NULL→READY*:
|
||||||
* asink: *NULL→READY*: probes device, returns `SUCCESS`
|
* asink: *NULL→READY*: probes device, returns `SUCCESS`
|
||||||
|
@ -116,6 +118,7 @@ have them played back synchronized again.
|
||||||
* vsrc: video source
|
* vsrc: video source
|
||||||
* vsink video sink
|
* vsink video sink
|
||||||
|
|
||||||
|
```
|
||||||
.--------------------------.
|
.--------------------------.
|
||||||
| pipeline |
|
| pipeline |
|
||||||
| .------. .-------. |
|
| .------. .-------. |
|
||||||
|
@ -127,6 +130,7 @@ have them played back synchronized again.
|
||||||
| | src -> sink | |
|
| | src -> sink | |
|
||||||
| '------' '-------' |
|
| '------' '-------' |
|
||||||
'--------------------------'
|
'--------------------------'
|
||||||
|
```
|
||||||
|
|
||||||
The state changes happen in the same way as example 1. Both sinks end up with
|
The state changes happen in the same way as example 1. Both sinks end up with
|
||||||
pending state of `PLAYING` and a return value of ASYNC until they receive the
|
pending state of `PLAYING` and a return value of ASYNC until they receive the
|
||||||
|
@ -146,6 +150,7 @@ sample to play.
|
||||||
An example of the combination of a non-live (file) and a live source (vsrc)
|
An example of the combination of a non-live (file) and a live source (vsrc)
|
||||||
connected to live sinks (vsink, sink).
|
connected to live sinks (vsink, sink).
|
||||||
|
|
||||||
|
```
|
||||||
.--------------------------.
|
.--------------------------.
|
||||||
| pipeline |
|
| pipeline |
|
||||||
| .------. .-------. |
|
| .------. .-------. |
|
||||||
|
@ -157,6 +162,7 @@ connected to live sinks (vsink, sink).
|
||||||
| | src -> sink | |
|
| | src -> sink | |
|
||||||
| '------' '-------' |
|
| '------' '-------' |
|
||||||
'--------------------------'
|
'--------------------------'
|
||||||
|
```
|
||||||
|
|
||||||
The state changes happen in the same way as example 1. Except sink will be
|
The state changes happen in the same way as example 1. Except sink will be
|
||||||
able to preroll (commit its state to PAUSED).
|
able to preroll (commit its state to PAUSED).
|
||||||
|
@ -174,6 +180,7 @@ should be configured in the element before it can go to PLAYING.
|
||||||
An example of the combination of a non-live and a live source. The non-live
|
An example of the combination of a non-live and a live source. The non-live
|
||||||
source is connected to a live sink and the live source to a non-live sink.
|
source is connected to a live sink and the live source to a non-live sink.
|
||||||
|
|
||||||
|
```
|
||||||
.--------------------------.
|
.--------------------------.
|
||||||
| pipeline |
|
| pipeline |
|
||||||
| .------. .-------. |
|
| .------. .-------. |
|
||||||
|
@ -185,6 +192,7 @@ source is connected to a live sink and the live source to a non-live sink.
|
||||||
| | src -> sink | |
|
| | src -> sink | |
|
||||||
| '------' '-------' |
|
| '------' '-------' |
|
||||||
'--------------------------'
|
'--------------------------'
|
||||||
|
```
|
||||||
|
|
||||||
The state changes happen in the same way as example 3. Sink will be
|
The state changes happen in the same way as example 3. Sink will be
|
||||||
able to preroll (commit its state to PAUSED). files will not be able to
|
able to preroll (commit its state to PAUSED). files will not be able to
|
||||||
|
|
Loading…
Reference in a new issue