summaryrefslogtreecommitdiff
path: root/docs/design/part-gstbin.txt
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2006-03-13 10:32:26 +0000
committerWim Taymans <wim.taymans@gmail.com>2006-03-13 10:32:26 +0000
commitb69033434f72704e8309eac422f8da39e283f2e4 (patch)
treed3a7ed9bbc57ac000aec12d9c0e253f1cd7ba39d /docs/design/part-gstbin.txt
parentff2e4288eddcfe0ff84d1c464f73fe3256e4cbaf (diff)
docs/design/: Documentation updates.
Original commit message from CVS: * docs/design/draft-klass.txt: * docs/design/part-clocks.txt: * docs/design/part-events.txt: * docs/design/part-gstbin.txt: * docs/design/part-gstpipeline.txt: * docs/design/part-messages.txt: * docs/design/part-negotiation.txt: * docs/design/part-overview.txt: * docs/design/part-preroll.txt: * docs/design/part-seeking.txt: * docs/design/part-states.txt: * docs/design/part-streams.txt: Documentation updates.
Diffstat (limited to 'docs/design/part-gstbin.txt')
-rw-r--r--docs/design/part-gstbin.txt17
1 files changed, 10 insertions, 7 deletions
diff --git a/docs/design/part-gstbin.txt b/docs/design/part-gstbin.txt
index 8c8cbe0f34..3ba0e57cfd 100644
--- a/docs/design/part-gstbin.txt
+++ b/docs/design/part-gstbin.txt
@@ -59,11 +59,7 @@ part-states.txt.
The application can retrieve the external GstBus and integrate it in the
mainloop or it can just _pop() messages off in its own thread.
-When a bin goes from READY into NULL state, it will set its bus to flushing,
-ie. the bus will drop all existing and new messages on the bus. This is
-necessary because bus messages hold references to the bin or its elements,
-so there are circular references that need to be broken if one ever wants
-to be able to destroy the bin properly.
+When a bin goes to READY it will clear all cached messages.
EOS
@@ -83,12 +79,16 @@ to PLAYING again.
SEGMENT_START/DONE
------------------
-* not implemented.
-
A bin collects SEGMENT_START messages but does not post them to the application.
It counts the number of SEGMENT_START messages and posts a SEGMENT_STOP message
to the application when an equal number of SEGMENT_STOP messages where received.
+The cached SEGMENT_START/STOP messages are cleared when going to READY.
+
+
+DURATION
+--------
+
Subclassing
-----------
@@ -97,3 +97,6 @@ Subclasses of GstBin are free to implement their own add/remove implementations.
It is a good idea to update the GList of children so that the _iterate() functions
can still be used if the custom bin allows acces to its children.
+Any bin subclass can also implement a custom message handler by overriding the
+default message handler.
+