From f99119cff6b5c7b4ced415ffb1a9aaf109cc0656 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Wed, 25 Jun 2008 14:49:08 +0000 Subject: [PATCH] docs/design/part-states.txt: Fix device open/close docs. Original commit message from CVS: * docs/design/part-states.txt: Fix device open/close docs. --- ChangeLog | 5 +++++ docs/design/part-states.txt | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index fb9d2cc..a0e88fb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-06-25 Wim Taymans + + * docs/design/part-states.txt: + Fix device open/close docs. + 2008-06-25 Stefan Kost * ChangeLog: diff --git a/docs/design/part-states.txt b/docs/design/part-states.txt index 38559de..9665818 100644 --- a/docs/design/part-states.txt +++ b/docs/design/part-states.txt @@ -32,9 +32,10 @@ the following state changes are possible: - The element must check if the resources it needs are available. Device sinks and -sources typically try to probe the device to constain their caps. + - The element opens the device, this is needed if the previous step requires + the device to be opened. READY -> PAUSED - - The element opens the device and prepares itself for PLAYING. - the element pads are activated in order to receive data in PAUSED. Streaming threads are started. - some elements might need to return ASYNC and complete the state change @@ -76,12 +77,13 @@ the following state changes are possible: PAUSED -> READY - sinks unblock any waits in the preroll. - elements unblock any waits on devices - - elements close devices - chain or get_range functions return WRONG_STATE. - the element pads are deactivated so that streaming becomes impossible and all streaming threads are stopped. + - the sink forgets all negotiated formats READY -> NULL + - elements close devices - element removes any dynamically created pads -- 2.7.4