diff options
author | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2017-07-11 14:36:39 -0700 |
---|---|---|
committer | Reynaldo H. Verdejo Pinochet <reynaldo@osg.samsung.com> | 2017-07-11 14:36:39 -0700 |
commit | 3823907047acfee2eb9d9bd1ccde2517934fd434 (patch) | |
tree | 59c100378dc41d0aa2374f138cf1f1a3de358d57 | |
parent | 22a72f31b21b8af8deb8e3c5fbce1baf41e596e6 (diff) |
design: element-sink: fix missing markup
-rw-r--r-- | markdown/design/element-sink.md | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/markdown/design/element-sink.md b/markdown/design/element-sink.md index 1de9e0a..48aa948 100644 --- a/markdown/design/element-sink.md +++ b/markdown/design/element-sink.md @@ -15,24 +15,24 @@ treated specially by the GStreamer core. ## state changes -A sink always returns ASYNC from the state change to PAUSED, this -includes a state change from READY→PAUSED and PLAYING→PAUSED. The reason +A sink always returns `ASYNC` from the state change to `PAUSED`, this +includes a state change from `READY→PAUSED` and `PLAYING→PAUSED`. The reason for this is that this way we can detect when the first buffer or event arrives in the sink when the state change completes. -A sink should block on the first EOS event or buffer received in the -READY→PAUSED state before commiting the state to PAUSED. +A sink should block on the first `EOS` event or buffer received in the +`READY→PAUSED` state before commiting the state to `PAUSED`. -FLUSHING events have to be handled out of sync with the buffer flow and +`FLUSHING` events have to be handled out of sync with the buffer flow and take no part in the preroll procedure. -Events other than EOS do not complete the preroll stage. +Events other than `EOS` do not complete the preroll stage. ## sink overview - TODO: `PREROLL_LOCK` can be removed and we can safely use the `STREAM_LOCK`. -`````` +```c # Commit the state. We return TRUE if we can continue # streaming, FALSE in the case we go to a READY or NULL state. # if we go to PLAYING, we don't need to block on preroll. |