gst/gstbin.c: use gst_object_has_ancestor().
authorWim Taymans <wim.taymans@gmail.com>
Tue, 27 Sep 2005 09:57:20 +0000 (09:57 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 27 Sep 2005 09:57:20 +0000 (09:57 +0000)
commit01085fa26a160e1fccb692b9ffcffcd7eb77c6db
tree6b49d76cbf64e8c74076d635d1e7d4753e0eee8c
parentf9a16f0ac70e56a67e6168e24c841ca314418b5e
gst/gstbin.c: use gst_object_has_ancestor().

Original commit message from CVS:
* gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
use gst_object_has_ancestor().

* gst/gstobject.c: (gst_object_has_ancestor):
* gst/gstobject.h:
gst_object_has_ancestor() copied from gstbin.c as it is a
usefull function.

* tests/instantiate/create.c: (create_all_elements):
* tests/lat.c: (handoff_src), (handoff_sink):
* tests/sched/runxml.c: (main):
* tests/seeking/seeking1.c: (main):
* tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
(main):
Fix compilation of some tests.
ChangeLog
gst/gstbin.c
gst/gstobject.c
gst/gstobject.h
tests/instantiate/create.c
tests/lat.c
tests/sched/runxml.c
tests/seeking/seeking1.c
tests/threadstate/threadstate2.c