summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2000-12-21 19:53:56 +0000
committerWim Taymans <wim.taymans@gmail.com>2000-12-21 19:53:56 +0000
commitc41af26c49c731bc81b2f0036a2998270d45d20a (patch)
tree138f403e8eaff3817fc0f9e5a31ced8860c3ec13 /tests
parent0c88b21a79c2df183b47921b69528069cabd5680 (diff)
70+ testcases to start with
Original commit message from CVS: 70+ testcases to start with
Diffstat (limited to 'tests')
-rw-r--r--tests/autoplug.c36
-rw-r--r--tests/sched/testcases875
2 files changed, 895 insertions, 16 deletions
diff --git a/tests/autoplug.c b/tests/autoplug.c
index 686eb380a..e418adb45 100644
--- a/tests/autoplug.c
+++ b/tests/autoplug.c
@@ -1,19 +1,6 @@
#include <gst/gst.h>
static GList*
-autoplug_factories (gchar *factory1, gchar *factory2)
-{
- GstElementFactory *mp3parse, *audiosink;
- mp3parse = gst_elementfactory_find ("mpeg1parse");
- g_assert (mp3parse != NULL);
-
- audiosink = gst_elementfactory_find ("videosink");
- g_assert (audiosink != NULL);
-
- return gst_autoplug_factories (mp3parse, audiosink);
-}
-
-static GList*
autoplug_caps (gchar *mime1, gchar *mime2)
{
GstCaps *caps1, *caps2;
@@ -44,12 +31,29 @@ int main(int argc,char *argv[])
gst_init(&argc,&argv);
- factories = autoplug_factories ("mpeg1parse", "videosink");
- dump_factories (factories);
-
factories = autoplug_caps ("audio/mp3", "audio/raw");
dump_factories (factories);
factories = autoplug_caps ("video/mpeg", "audio/raw");
dump_factories (factories);
+
+ factories = gst_autoplug_caps (
+ gst_caps_new_with_props(
+ "video/mpeg",
+ gst_props_new (
+ "mpegversion", GST_PROPS_INT (1),
+ "systemstream", GST_PROPS_BOOLEAN (TRUE),
+ NULL)),
+ gst_caps_new("audio/raw"));
+ dump_factories (factories);
+
+ factories = gst_autoplug_caps (
+ gst_caps_new_with_props(
+ "video/mpeg",
+ gst_props_new (
+ "mpegversion", GST_PROPS_INT (1),
+ "systemstream", GST_PROPS_BOOLEAN (FALSE),
+ NULL)),
+ gst_caps_new("video/raw"));
+ dump_factories (factories);
}
diff --git a/tests/sched/testcases b/tests/sched/testcases
new file mode 100644
index 000000000..a3f9d7e99
--- /dev/null
+++ b/tests/sched/testcases
@@ -0,0 +1,875 @@
+* = loopbased
+
+/**************************************************************************************/
+ * 1 bin
+ **************************************************************************************/
+
+1)
+
+
+ [-bin-------------------------------]
+ ! [--------] [--------] !
+ ! !faksesrc! !fakesink! !
+ ! ! src -------- sink ! !
+ ! [--------] [--------] !
+ [-----------------------------------]
+
+2)
+
+
+ [-bin-----------------------------------------------]
+ ! [--------] [--------] [--------] !
+ ! !faksesrc! !identity! !fakesink! !
+ ! ! src --- sink src ----- sink ! !
+ ! [--------] [--------] [--------] !
+ [---------------------------------------------------]
+
+3)
+
+
+ [-bin-----------------------------------------------]
+ ! [--------] [--------] [--------] !
+ ! !faksesrc! !identity! !fakesink! !
+ ! ! src --- sink * src ----- sink ! !
+ ! [--------] [--------] [--------] !
+ [---------------------------------------------------]
+
+4)
+
+ [-bin--------------------------------------------------------------]
+ ! [--------] [--------] [--------] [--------] !
+ ! !faksesrc! !identity! !identity! !fakesink! !
+ ! ! src --- sink * src -- sink src -- sink ! !
+ ! [--------] [--------] [--------] [--------] !
+ [------------------------------------------------------------------]
+
+5)
+
+ [------------------------------------------------------------------]
+ ! [--------] [--------] [--------] [--------] !
+ ! !faksesrc! !identity! !identity! !fakesink! !
+ ! ! src --- sink src -- sink * src -- sink ! !
+ ! [--------] [--------] [--------] [--------] !
+ [------------------------------------------------------------------]
+
+5b)
+
+ [------------------------------------------------------------------]
+ ! [--------] [--------] [--------] [--------] !
+ ! !faksesrc! !identity! !identity! !fakesink! !
+ ! ! src --- sink * src -- sink * src -- sink ! !
+ ! [--------] [--------] [--------] [--------] !
+ [------------------------------------------------------------------]
+
+
+/**************************************************************************************/
+ * bin-in-bin based
+ **************************************************************************************/
+
+6)
+
+ [-bin-----------------------------------]
+ [ [-bin-------------------------------] ]
+ [ ! [--------] [--------] ! ]
+ [ ! !faksesrc! !fakesink! ! ]
+ [ ! ! src -------- sink ! ! ]
+ [ ! [--------] [--------] ! ]
+ [ [-----------------------------------] ]
+ [---------------------------------------]
+
+7)
+
+ [-bin-----------------------------------]
+ [ [-bin----------] ]
+ [ ! [--------] ] [--------] ]
+ [ ! !faksesrc! ] !fakesink! ]
+ [ ! ! src -------- sink ! ]
+ [ ! [--------] ] [--------] ]
+ [ [--------------] ]
+ [---------------------------------------]
+
+
+8)
+
+ [-bin-----------------------------------]
+ [ [-bin-------------] ]
+ [ [--------] [ [--------] ! ]
+ [ !faksesrc! [ !fakesink! ! ]
+ [ ! src -------- sink ! ! ]
+ [ [--------] [ [--------] ! ]
+ [ [-----------------] ]
+ [---------------------------------------]
+
+
+9)
+
+ [-bin---------------------------------------------------]
+ [ [-bin-------------] !
+ [ [--------] [--------] ! [--------] ! !
+ [ !faksesrc! !identity! ! !fakesink! ! !
+ [ ! src --- sink src ----- sink ! ! !
+ [ [--------] [--------] ! [--------] ! !
+ [ [-----------------] !
+ [-------------------------------------------------------]
+
+
+10)
+
+ [-bin---------------------------------------------------]
+ [ [-bin-------------] !
+ [ [--------] [--------] ! [--------] ! !
+ [ !faksesrc! !identity! ! !fakesink! ! !
+ [ ! src --- sink * src ----- sink ! ! !
+ [ [--------] [--------] ! [--------] ! !
+ [ [-----------------] !
+ [-------------------------------------------------------]
+
+
+11)
+
+ [-bin---------------------------------------------------]
+ [ [-bin--------------------------------] !
+ [ [--------] ! [--------] [--------] ! !
+ [ !faksesrc! ! !identity! !fakesink! ! !
+ [ ! src --- sink src ----- sink ! ! !
+ [ [--------] ! [--------] [--------] ! !
+ [ [------------------------------------] !
+ [-------------------------------------------------------]
+
+
+12)
+
+ [-bin---------------------------------------------------]
+ [ [-bin--------------------------------] !
+ [ [--------] ! [--------] [--------] ! !
+ [ !faksesrc! ! !identity! !fakesink! ! !
+ [ ! src --- sink * src ----- sink ! ! !
+ [ [--------] ! [--------] [--------] ! !
+ [ [------------------------------------] !
+ [-------------------------------------------------------]
+
+
+13)
+
+ [-bin---------------------------------------------------]
+ [ [-bin-----------------------------] !
+ [ [ [--------] [--------] ! [--------] !
+ [ [ !faksesrc! !identity! ! !fakesink! !
+ [ [ ! src --- sink src ----- sink ! !
+ [ [ [--------] [--------] ! [--------] !
+ [ [---------------------------------] !
+ [-------------------------------------------------------]
+
+
+14)
+
+ [-bin---------------------------------------------------]
+ ! [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [--------] !
+ ! ! !faksesrc! !identity! ! !fakesink! !
+ ! ! ! src --- sink * src ----- sink ! !
+ ! ! [--------] [--------] ! [--------] !
+ ! [---------------------------------] !
+ [-------------------------------------------------------]
+
+
+15)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !identity! !fakesink! !
+ ! ! ! src --- sink src -- sink src -- sink ! !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! [---------------------------------] !
+ [--------------------------------------------------------------------]
+
+
+16)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin----------------------------] !
+ ! [--------] [--------] ! [--------] [--------] ! !
+ ! !faksesrc! !identity! ! !identity! !fakesink! ! !
+ ! ! src --- sink src -- sink src -- sink ! ! !
+ ! [--------] [--------] ! [--------] [--------] ! !
+ ! [--------------------------------] !
+ [--------------------------------------------------------------------]
+
+
+17)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin----------------------------] !
+ ! [--------] [--------] ! [--------] [--------] ! !
+ ! !faksesrc! !identity! ! !identity! !fakesink! ! !
+ ! ! src --- sink src -- sink * src -- sink ! ! !
+ ! [--------] [--------] ! [--------] [--------] ! !
+ ! [--------------------------------] !
+ [--------------------------------------------------------------------]
+
+
+18)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin----------------------------] !
+ ! [--------] [--------] ! [--------] [--------] ! !
+ ! !faksesrc! !identity! ! !identity! !fakesink! ! !
+ ! ! src --- sink * src -- sink * src -- sink ! ! !
+ ! [--------] [--------] ! [--------] [--------] ! !
+ ! [--------------------------------] !
+ [--------------------------------------------------------------------]
+
+
+19)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !identity! !fakesink! !
+ ! ! ! src --- sink * src -- sink src -- sink ! !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! [---------------------------------] !
+ [--------------------------------------------------------------------]
+
+20)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !identity! !fakesink! !
+ ! ! ! src --- sink src -- sink * src -- sink ! !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! [---------------------------------] !
+ [--------------------------------------------------------------------]
+
+
+21)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !identity! !fakesink! !
+ ! ! ! src --- sink * src -- sink * src -- sink ! !
+ ! ! [--------] [--------] ! [--------] [--------] !
+ ! [---------------------------------] !
+ [--------------------------------------------------------------------]
+
+
+22)
+
+ [-bin--------------------------------------------------------------------]
+ ! [-bin----------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [------------------------------------------------------------------------]
+
+
+23)
+
+ [-bin--------------------------------------------------------------------]
+ ! [-bin----------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [------------------------------------------------------------------------]
+
+
+24)
+
+ [-bin--------------------------------------------------------------------]
+ ! [-bin----------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [------------------------------------------------------------------------]
+
+
+25)
+
+ [-bin--------------------------------------------------------------------]
+ ! [-bin----------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [------------------------------------------------------------------------]
+
+
+/**************************************************************************************/
+ * threads
+ **************************************************************************************/
+
+26)
+
+ [-bin-----------------------------------]
+ [ [-thread----------------------------] ]
+ [ ! [--------] [--------] ! ]
+ [ ! !faksesrc! !fakesink! ! ]
+ [ ! ! src -------- sink ! ! ]
+ [ ! [--------] [--------] ! ]
+ [ [-----------------------------------] ]
+ [---------------------------------------]
+
+27)
+
+ [-thread--------------------------------]
+ [ [-bin-------------------------------] ]
+ [ ! [--------] [--------] ! ]
+ [ ! !faksesrc! !fakesink! ! ]
+ [ ! ! src -------- sink ! ! ]
+ [ ! [--------] [--------] ! ]
+ [ [-----------------------------------] ]
+ [---------------------------------------]
+
+28)
+
+ [-bin--------------------------------------------]
+ [ [-thread-------] ]
+ [ ! [--------] ] [-----] [--------] ]
+ [ ! !faksesrc! ] !queue! !fakesink! ]
+ [ ! ! src --- sink src -- sink ! ]
+ [ ! [--------] ] [-----] [--------] ]
+ [ [--------------] ]
+ [------------------------------------------------]
+
+
+29)
+
+ [-bin--------------------------------------------]
+ [ [-thread--------] ]
+ [ [--------] [-----] [ [--------] ! ]
+ [ !faksesrc! !queue! [ !fakesink! ! ]
+ [ ! src -- sink src --- sink ! ! ]
+ [ [--------] [-----] [ [--------] ! ]
+ [ [---------------] ]
+ [------------------------------------------------]
+
+
+30)
+
+ [-bin---------------------------------------------------------------]
+ [ [-thread--------] !
+ [ [--------] [--------] [-----] ! [--------] ! !
+ [ !faksesrc! !identity! !queue! ! !fakesink! ! !
+ [ ! src --- sink src -- sink src --- sink ! ! !
+ [ [--------] [--------] [-----] ! [--------] ! !
+ [ [---------------] !
+ [-------------------------------------------------------------------]
+
+
+31)
+
+ [-bin---------------------------------------------------------------]
+ [ [-thread--------] !
+ [ [--------] [--------] [-----] ! [--------] ! !
+ [ !faksesrc! !identity! !queue! ! !fakesink! ! !
+ [ ! src --- sink * src -- sink src --- sink ! ! !
+ [ [--------] [--------] [-----] ! [--------] ! !
+ [ [---------------] !
+ [-------------------------------------------------------------------]
+
+
+
+32)
+
+ [-bin------------------------------------------------------------------]
+ [ [-thread-----------------------------] !
+ [ [--------] [-----] ! [--------] [--------] ! !
+ [ !faksesrc! !queue! ! !identity! !fakesink! ! !
+ [ ! src --- sink src --- sink src ----- sink ! ! !
+ [ [--------] [-----] ! [--------] [--------] ! !
+ [ [------------------------------------] !
+ [----------------------------------------------------------------------]
+
+
+33)
+
+ [-bin------------------------------------------------------------------]
+ [ [-thread-----------------------------] !
+ [ [--------] [-----] ! [--------] [--------] ! !
+ [ !faksesrc! !queue! ! !identity! !fakesink! ! !
+ [ ! src --- sink src --- sink * src ----- sink ! ! !
+ [ [--------] [-----] ! [--------] [--------] ! !
+ [ [------------------------------------] !
+ [----------------------------------------------------------------------]
+
+
+34)
+
+ [-bin---------------------------------------------------------------]
+ [ [-thread--------------------------] !
+ [ [ [--------] [--------] ! [-----] [--------] !
+ [ [ !faksesrc! !identity! ! !queue! !fakesink! !
+ [ [ ! src --- sink src --- sink src -- sink ! !
+ [ [ [--------] [--------] ! [-----] [--------] !
+ [ [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+35)
+
+ [-bin---------------------------------------------------------------]
+ [ [-thread--------------------------] !
+ [ [ [--------] [--------] ! [-----] [--------] !
+ [ [ !faksesrc! !identity! ! !queue! !fakesink! !
+ [ [ ! src --- sink * src --- sink src -- sink ! !
+ [ [ [--------] [--------] ! [-----] [--------] !
+ [ [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+36)
+
+ [-bin------------------------------------------------------------------------------]
+ ! [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
+ ! ! ! src --- sink src -- sink src -- sink src -- sink ! !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! [---------------------------------] !
+ [----------------------------------------------------------------------------------]
+
+
+37)
+
+ [-bin------------------------------------------------------------------------------]
+ ! [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
+ ! ! ! src --- sink * src -- sink src -- sink src -- sink ! !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! [---------------------------------] !
+ [----------------------------------------------------------------------------------]
+
+
+38)
+
+ [-bin------------------------------------------------------------------------------]
+ ! [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
+ ! ! ! src --- sink src -- sink src -- sink * src -- sink ! !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! [---------------------------------] !
+ [----------------------------------------------------------------------------------]
+
+
+39)
+
+ [-bin------------------------------------------------------------------------------]
+ ! [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! ! !faksesrc! !identity! ! !queue! !identity! !fakesink! !
+ ! ! ! src --- sink * src -- sink src -- sink * src -- sink ! !
+ ! ! [--------] [--------] ! [-----] [--------] [--------] !
+ ! [---------------------------------] !
+ [----------------------------------------------------------------------------------]
+
+
+40)
+
+ [-bin------------------------------------------------------------------------------]
+ ! [-thread-------------------------] !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
+ ! ! src --- sink src -- sink src -- sink src -- sink ! ! !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] !
+ [----------------------------------------------------------------------------------]
+
+41)
+
+ [-bin-------------------------------------------------------------------------------]
+ ! [-thread--------------------------] !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
+ ! ! src --- sink src -- sink src -- sink * src -- sink ! ! !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] !
+ [-----------------------------------------------------------------------------------]
+
+42)
+
+ [-bin------------------------------------------------------------------------------]
+ ! [-thread-------------------------] !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
+ ! ! src --- sink * src -- sink src -- sink src -- sink ! ! !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] !
+ [----------------------------------------------------------------------------------]
+
+
+43)
+
+ [-bin------------------------------------------------------------------------------]
+ ! [-thread-------------------------] !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! !faksesrc! !identity! !queue! ! !identity! !fakesink! ! !
+ ! ! src --- sink * src -- sink src -- sink * src -- sink ! ! !
+ ! [--------] [--------] [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] !
+ [----------------------------------------------------------------------------------]
+
+
+
+/**********************************************************************************
+ * two threads in bin
+ **********************************************************************************/
+
+44)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+45)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+46)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+47)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+48)
+
+ [-bin---------------------------------------------------------------]
+ ! [-thread-------] [-thread--------------------------] !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------] [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+49)
+
+ [-bin---------------------------------------------------------------]
+ ! [-thread-------] [-thread--------------------------] !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------] [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+50)
+
+ [-bin----------------------------------------------------------------]
+ ! [-thread-------------------------] [-thread---------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! [--------------------------------] [----------------] !
+ [--------------------------------------------------------------------]
+
+
+51)
+
+ [-bin----------------------------------------------------------------]
+ ! [-thread-------------------------] [-thread---------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! [--------------------------------] [----------------] !
+ [--------------------------------------------------------------------]
+
+
+52)
+
+ [-bin----------------------------------------------]
+ ! [-thread-------] [-thread---------] !
+ ! ! [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] ! !
+ ! [--------------] [----------------] !
+ [--------------------------------------------------]
+
+
+/**********************************************************************************
+ * thread-bin in bin
+ **********************************************************************************/
+
+/** thread first ******/
+
+53)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+54)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+55)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+56)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-thread-------------------------] [-bin-----------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+57)
+
+ [-bin----------------------------------------------]
+ ! [-thread-------] [-bin------------] !
+ ! ! [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] ! !
+ ! [--------------] [----------------] !
+ [--------------------------------------------------]
+
+
+58)
+
+ [-bin---------------------------------------------------------------]
+ ! [-thread-------] [-bin-----------------------------] !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------] [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+59)
+
+ [-bin---------------------------------------------------------------]
+ ! [-thread-------] [-bin-----------------------------] !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------] [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+60)
+
+ [-bin----------------------------------------------------------------]
+ ! [-thread-------------------------] [-bin------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! [--------------------------------] [----------------] !
+ [--------------------------------------------------------------------]
+
+
+61)
+
+ [-bin----------------------------------------------------------------]
+ ! [-thread-------------------------] [-bin------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! [--------------------------------] [----------------] !
+ [--------------------------------------------------------------------]
+
+
+
+/** bin first ******/
+
+62)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-bin----------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+63)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-bin----------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+64)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-bin----------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+65)
+
+ [-bin---------------------------------------------------------------------------------]
+ ! [-bin----------------------------] [-thread--------------------------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------------------------] [---------------------------------] !
+ [-------------------------------------------------------------------------------------]
+
+
+66)
+
+ [-bin----------------------------------------------]
+ ! [-bin----------] [-thread---------] !
+ ! ! [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] ! !
+ ! [--------------] [----------------] !
+ [--------------------------------------------------]
+
+
+67)
+
+ [-bin---------------------------------------------------------------]
+ ! [-bin----------] [-thread--------------------------] !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src -- sink src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------] [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+68)
+
+ [-bin---------------------------------------------------------------]
+ ! [-bin----------] [-thread--------------------------] !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! ! !faksesrc! ! !queue! ! !identity! !fakesink! ! !
+ ! ! ! src --- sink src -- sink * src -- sink ! ! !
+ ! ! [--------] ! [-----] ! [--------] [--------] ! !
+ ! [--------------] [---------------------------------] !
+ [-------------------------------------------------------------------]
+
+
+69)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin----------------------------] [-thread---------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! [--------------------------------] [----------------] !
+ [--------------------------------------------------------------------]
+
+
+70)
+
+ [-bin----------------------------------------------------------------]
+ ! [-bin----------------------------] [-thread---------] !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! ! !faksesrc! !identity! ! !queue! ! !fakesink! ! !
+ ! ! ! src --- sink * src --- sink src -- sink ! ! !
+ ! ! [--------] [--------] ! [-----] ! [--------] ! !
+ ! [--------------------------------] [----------------] !
+ [--------------------------------------------------------------------]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+