gstreamer/tests
Edward Hervey ebad8c0094 bin: iterate_sorted: Ensure sources are always returned last
For linked elements, the resulting gst_bin_iterate_sorted() will
properly return elements from sink to sources.

If we have some elements that are not linked, we *still* want to
ensure that we return:
* In priority any sinks
* Last of all any sources
* And in between any element which is neither source nor sink

For this to work, when looking for the next candidate element,
not only check the degree order, but if there are two candidates
with the same degree order, prefer the non-source one.

Amongst other things, this fixes the case where we activating a
bin containing unlinked sources and other elements. Without this
we could end up activating sources (which might start adding pads
to be linked) before other (to which those new source element pads
might be linked) are not activated

https://bugzilla.gnome.org/show_bug.cgi?id=788434
2017-10-03 07:56:39 +02:00
..
benchmarks benchmark: fix complexity benchmark 2017-07-14 16:39:42 +01:00
check bin: iterate_sorted: Ensure sources are always returned last 2017-10-03 07:56:39 +02:00
examples docs: remove app dev manual and plugin writer's guide 2016-11-01 17:55:54 +00:00
misc tests: Fix compile warning on mingw64 2016-11-09 19:44:07 +02:00
.gitignore Add new streamiddemux binaries to .gitignore 2015-03-14 16:05:57 +00:00
Makefile.am tests: don't build misc subdir if both examples and benchmarks have been disabled 2016-09-02 23:22:17 +01:00
meson.build Add support for Meson as alternative/parallel build system 2016-08-19 21:26:14 +01:00
README README: update after removal of "old" dir. 2010-07-05 12:26:42 +03:00

This directory contains regression tests, functionality tests, examples,
benchmarks, ...

benchmarks/
   benchmarks to profile pieces of GStreamer
check/
   unit tests using the check library, non-interactive
examples/
   small examples demonstrating the use of various features
misc/
   prototypes, random bits, ...