diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-05-11 09:07:16 +0200 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-05-11 09:14:52 +0200 |
commit | 05580beb77488ebe577cb015de38f38635958449 (patch) | |
tree | cd8948a0a426b64e3d61e44c45896beeca670aa8 /docs/design/part-overview.txt | |
parent | 201538158e8f31cf0d8bb90ffddfe24e4df786ea (diff) |
docs: fix docs
GST_FLOW_WRONG_STATE -> GST_FLOW_FLUSHING
Diffstat (limited to 'docs/design/part-overview.txt')
-rw-r--r-- | docs/design/part-overview.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/design/part-overview.txt b/docs/design/part-overview.txt index ddc97572dd..99dd508cb8 100644 --- a/docs/design/part-overview.txt +++ b/docs/design/part-overview.txt @@ -447,14 +447,14 @@ In the next PAUSED to READY state change the pipeline has to shut down and all streaming threads must stop sending data. This happens in the following sequence: alsasink to READY: alsasink unblocks from the _chain() function and returns a - WRONG_STATE return value to the peer element. The sinkpad is + FLUSHING return value to the peer element. The sinkpad is deactivated and becomes unusable for sending more data. mp3dec to READY: the pads are deactivated and the state change completes when mp3dec leaves its _chain() function. filesrc to READY: the pads are deactivated and the thread is paused. The upstream elements finish their chain() function because the downstream element -returned an error code (WRONG_STATE) from the _push() functions. These error codes +returned an error code (FLUSHING) from the _push() functions. These error codes are eventually returned to the element that started the streaming thread (filesrc), which pauses the thread and completes the state change. |