gstreamer/docs/random/omega/sched-case
Erik Walthinsen 5608ed3da1 added all of my un-committed random doc files, as backup <g>
Original commit message from CVS:
added all of my un-committed random doc files, as backup <g>
2001-01-11 09:42:17 +00:00

21 lines
766 B
Plaintext

Case 1:
---------------------------------------------------
| pipeline |
| --------------- ---------------- |
| | bin | | thread | |
| | ----------- | ------------ | ------------ | |
| | | fakesrc | | | queue | | | fakesink | | |
| | | src>|-|--|<sink src>|--|-|<sink | | |
| | ----------- | ------------ | ------------ | |
| --------------- ---------------- |
---------------------------------------------------
Pipeline manages: fakesrc, queue
Thread manages: fakesink
Both forced to use cothreads.
First thing the thread does is try to pull from the queue. Because it's a chain function, it runs in
_chain_wrapper, which calls gst_pad_pull().