summaryrefslogtreecommitdiff
path: root/gst/gstbin.h
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@gmail.com>2005-09-27 16:16:39 +0000
committerWim Taymans <wim.taymans@gmail.com>2005-09-27 16:16:39 +0000
commit4d4a60f6c9a4ad574f715b6c25fd650b1a14bcb4 (patch)
treee28cea6af482bbbb50eaa44f1fbad70faa850eb1 /gst/gstbin.h
parent590a0cfb57bcf183069dbd68526d3b2b90832894 (diff)
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.
Diffstat (limited to 'gst/gstbin.h')
-rw-r--r--gst/gstbin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gst/gstbin.h b/gst/gstbin.h
index 588993aac..eaae8c24e 100644
--- a/gst/gstbin.h
+++ b/gst/gstbin.h
@@ -127,6 +127,7 @@ GstElement* gst_bin_get_by_interface (GstBin *bin, GType interface);
/* retrieve multiple children */
GstIterator* gst_bin_iterate_elements (GstBin *bin);
+GstIterator* gst_bin_iterate_sorted (GstBin *bin);
GstIterator* gst_bin_iterate_recurse (GstBin *bin);
GstIterator* gst_bin_iterate_sinks (GstBin *bin);