gst/gstbin.c: Fix annoying bug in the sorted iterator where a sink that is not really...
authorWim Taymans <wim.taymans@gmail.com>
Thu, 16 Aug 2007 10:27:16 +0000 (10:27 +0000)
committerWim Taymans <wim.taymans@gmail.com>
Thu, 16 Aug 2007 10:27:16 +0000 (10:27 +0000)
commit5059e9f8bdf7b1e3c899de8c627f11d9d14276a9
tree86bb21b39849da670f5d6cfb96599597c8d166ff
parent4f98b744d25ec122661e8f6b2bc4e008b538b460
gst/gstbin.c: Fix annoying bug in the sorted iterator where a sink that is not really a sink (when it has downstream ...

Original commit message from CVS:
* gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
(update_degree), (gst_bin_sort_iterator_next):
Fix annoying bug in the sorted iterator where a sink that is not really
a sink (when it has downstream links) screwed up the iterator.
* tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
Unit test to verify the fix.
ChangeLog
gst/gstbin.c
tests/check/gst/gstbin.c