check/gst/gstbin.c: Added checks for hierarchy consistency whan adding linked element...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 28 Jul 2005 15:38:46 +0000 (15:38 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 28 Jul 2005 15:38:46 +0000 (15:38 +0000)
commita62db7f1ba9ec48c50abd0a1930bc48f6b729355
tree29ba168f6da9162ae3dac80ab8b2109c65566222
parentcd76217ce5ee048357c83ae77b5ae24cd3ea3017
check/gst/gstbin.c: Added checks for hierarchy consistency whan adding linked elements to bins.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
Added checks for hierarchy consistency whan adding linked
elements to bins.

* check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
Added check to test element scheduling without bin/pipeline.

* check/pipelines/simple_launch_lines.c: (GST_START_TEST):
First add elements to bin, then link.

* gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
(gst_bin_remove_func):
Unlink pads from elements added/removed from bin to maintain
hierarchy consistency.
ChangeLog
check/gst/gstbin.c
check/gst/gstelement.c
check/pipelines/simple_launch_lines.c
gst/gstbin.c
tests/check/gst/gstbin.c
tests/check/gst/gstelement.c
tests/check/pipelines/simple-launch-lines.c