check/gst/gstbin.c: Enable check that works now.
authorWim Taymans <wim.taymans@gmail.com>
Tue, 27 Sep 2005 16:16:39 +0000 (16:16 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Tue, 27 Sep 2005 16:16:39 +0000 (16:16 +0000)
commit4d4a60f6c9a4ad574f715b6c25fd650b1a14bcb4
treee28cea6af482bbbb50eaa44f1fbad70faa850eb1
parent590a0cfb57bcf183069dbd68526d3b2b90832894
check/gst/gstbin.c: Enable check that works now.

Original commit message from CVS:
* check/gst/gstbin.c: (GST_START_TEST):
Enable check that works now.

* gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
(update_outdegree), (find_element), (gst_bin_sort_iterator_next),
(gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
(gst_bin_iterate_sorted), (gst_bin_element_set_state),
(gst_bin_change_state):
* gst/gstbin.h:
Redid the state change algorithm using a topological sort algo.
Handles all cases correctly.
Exposed iterator for state change order.

* gst/gstelement.h:
Temp storage for state changes. Need to get rid of this soon.
ChangeLog
check/gst/gstbin.c
gst/gstbin.c
gst/gstbin.h
gst/gstelement.h
tests/check/gst/gstbin.c