gst/gstbin.c: Improve debugging.
authorWim Taymans <wim.taymans@gmail.com>
Thu, 16 Aug 2007 11:04:40 +0000 (11:04 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 16 Aug 2007 11:04:40 +0000 (11:04 +0000)
commitebf770154f60f1ce1615b3553f4ae0eaf962f103
treeb2dcc593fa7290b88a317862785f8617e498bbc3
parent5059e9f8bdf7b1e3c899de8c627f11d9d14276a9
gst/gstbin.c: Improve debugging.

Original commit message from CVS:
* gst/gstbin.c: (is_eos), (gst_bin_add_func),
(bin_handle_async_start), (gst_bin_handle_message_func):
Improve debugging.
When adding elements, insert messages into the bus of the newly added
element and make sure the element is the source of the message. This
allows the parent bin to intercept the message and do the
right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
messages to the app (which is not allowed).
Update some docs.
* tests/check/gst/gstghostpad.c: (GST_START_TEST):
Fix testsuite so that is does not work around messages that should not
have been posted in the first place.
ChangeLog
gst/gstbin.c
tests/check/gst/gstghostpad.c