mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-04 01:32:42 +00:00
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.
This commit is contained in:
parent
6e6de5162b
commit
f99119cff6
2 changed files with 9 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
|
||||||
|
|
||||||
|
* docs/design/part-states.txt:
|
||||||
|
Fix device open/close docs.
|
||||||
|
|
||||||
2008-06-25 Stefan Kost <ensonic@users.sf.net>
|
2008-06-25 Stefan Kost <ensonic@users.sf.net>
|
||||||
|
|
||||||
* ChangeLog:
|
* ChangeLog:
|
||||||
|
|
|
@ -32,9 +32,10 @@ the following state changes are possible:
|
||||||
- The element must check if the resources it needs are available.
|
- The element must check if the resources it needs are available.
|
||||||
Device sinks and -sources typically try to probe the device to constain
|
Device sinks and -sources typically try to probe the device to constain
|
||||||
their caps.
|
their caps.
|
||||||
|
- The element opens the device, this is needed if the previous step requires
|
||||||
|
the device to be opened.
|
||||||
|
|
||||||
READY -> PAUSED
|
READY -> PAUSED
|
||||||
- The element opens the device and prepares itself for PLAYING.
|
|
||||||
- the element pads are activated in order to receive data in PAUSED.
|
- the element pads are activated in order to receive data in PAUSED.
|
||||||
Streaming threads are started.
|
Streaming threads are started.
|
||||||
- some elements might need to return ASYNC and complete the state change
|
- some elements might need to return ASYNC and complete the state change
|
||||||
|
@ -76,12 +77,13 @@ the following state changes are possible:
|
||||||
PAUSED -> READY
|
PAUSED -> READY
|
||||||
- sinks unblock any waits in the preroll.
|
- sinks unblock any waits in the preroll.
|
||||||
- elements unblock any waits on devices
|
- elements unblock any waits on devices
|
||||||
- elements close devices
|
|
||||||
- chain or get_range functions return WRONG_STATE.
|
- chain or get_range functions return WRONG_STATE.
|
||||||
- the element pads are deactivated so that streaming becomes impossible and
|
- the element pads are deactivated so that streaming becomes impossible and
|
||||||
all streaming threads are stopped.
|
all streaming threads are stopped.
|
||||||
|
- the sink forgets all negotiated formats
|
||||||
|
|
||||||
READY -> NULL
|
READY -> NULL
|
||||||
|
- elements close devices
|
||||||
- element removes any dynamically created pads
|
- element removes any dynamically created pads
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue