gstreamer/tests/check/gst
Tim-Philipp Müller 507fc9cea7 value: avoid duplicates when intersecting lists
Fixes negotiation taking a ridiculous amount of
time (multiple 10s of seconds on a core2) when
there are duplicate entries in lists.

Could have a negative performance impact on other
scenarios because we now have to iterate the
dest list to avoid duplicates, but we don't
have a lot of lists any more these days, and
they tend to be small anyway. The negatives
are hopefully countered by the positive effects
of reducing the list length early on in the
process. And in any case, it's the right thing
to do.

Based on patch by Andre Moreira Magalhaes.

https://bugzilla.gnome.org/show_bug.cgi?id=684981
2012-09-29 14:35:58 +01:00
..
.gitignore tests: add new unit test binaries to .gitignore 2012-04-02 23:29:24 +01:00
capslist.h tests: fix old caps in tests now that core warns 2012-03-01 17:41:56 +01:00
gst.c checks: run tests calling gst_deinit() last so things work with CK_FORK=no 2010-07-03 14:11:38 +01:00
gstabi.c tests: refix the tests (missing #endif) 2011-02-24 16:20:01 +02:00
gstatomicqueue.c tests: add minimal test for GstAtomicQueue 2011-09-30 14:50:51 +01:00
gstbin.c event: Update for stream-start event API changes 2012-08-06 14:00:56 +02:00
gstbuffer.c tests: gstbuffer: add tests for some mulitple map combinations 2012-07-19 13:51:52 +02:00
gstbufferlist.c bufferlist: clean up API 2011-11-02 08:59:43 +01:00
gstbus.c tests: port to new GLib thread API 2012-09-12 13:01:18 +02:00
gstcaps.c value: avoid duplicates when intersecting lists 2012-09-29 14:35:58 +01:00
gstchildproxy.c childproxy: use GstChildProxy instead of GObject on the public api 2012-06-11 18:25:18 +02:00
gstclock.c clock: make abstract 2012-07-09 16:28:22 +02:00
gstcontroller.c replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:01:21 +02:00
gstcpp.cc tests: rebuild one test using cpp 2010-09-22 10:22:40 +03:00
gstdatetime.c tests: make checks for from/to_g_date_time() actually work properly 2012-07-04 10:23:06 +01:00
gstelement.c element: Add test for inheriting metadata/pad templates 2011-04-16 15:59:40 +02:00
gstelementfactory.c elementfactory: make object struct opaque for now 2012-05-19 16:17:12 +01:00
gstevent.c tests: port to new GLib thread API 2012-09-12 13:01:18 +02:00
gstghostpad.c tests: Test the case where ghost pads are removed while streaming 2012-09-27 10:53:16 +02:00
gstindex.c gst/gstindex.*: Don't free key strings which we don't own. Fixes crash in gst_index_entry_free() (#522741). 2008-03-17 10:21:59 +00:00
gstinfo.c info: add destroy notify to gst_debug_add_log_function() 2012-06-20 13:28:08 +02:00
gstiterator.c tests: port to new GLib thread API 2012-09-12 13:01:18 +02:00
gstmemory.c miniobject: Always reject WRITE locks on READONLY miniobjects 2012-09-28 17:12:14 -04:00
gstmessage.c task: add GDestroyNotify to _new 2012-06-20 10:31:49 +02:00
gstmeta.c meta: add LOCKED flag 2012-04-17 15:55:10 +02:00
gstminiobject.c Merge branch 'master' into 0.11 2011-05-16 16:53:04 +02:00
gstobject.c tests: remove silly test_fail_abstract_new check 2012-08-08 14:50:10 +01:00
gstpad.c pad: Remove pad probes only once 2012-09-20 15:24:33 -04:00
gstparamspecs.c check: Update tests for new STREAM_START message 2012-07-09 20:31:45 +02:00
gstpipeline.c tests: port to new GLib thread API 2012-09-12 13:01:18 +02:00
gstplugin.c tools, tests: don't access the GstPluginFeature structure directly 2012-05-19 17:23:43 +01:00
gstpoll.c gst: Fix compiler warnings on mingw-w64 2012-05-09 09:35:35 +02:00
gstpreset.c replace gst_element_class_set_details_simple with gst_element_class_set_metadata 2012-09-14 17:01:21 +02:00
gstquery.c Revert "query: allow _make_writable on query handlers" 2011-05-17 11:21:41 +02:00
gstregistry.c registry: rename gst_registry_get_default() to gst_registry_get() 2012-01-02 02:22:51 +00:00
gstsegment.c segment: add offset field 2012-07-27 17:09:45 +02:00
gststructure.c docs: fix some docs 2012-09-13 11:35:41 +02:00
gstsystemclock.c tests: port to new GLib thread API 2012-09-12 13:01:18 +02:00
gsttag.c sample: add serialisation/deserialisation functions for GstSample 2012-09-16 23:20:46 +01:00
gsttagsetter.c tests: port to new GLib thread API 2012-09-12 13:01:18 +02:00
gsttask.c task: add GDestroyNotify to _new 2012-06-20 10:31:49 +02:00
gsttoc.c toc: add GstTocScope and require it in the constructor 2012-07-28 09:16:06 +01:00
gsttocsetter.c tests: port to new GLib thread API 2012-09-12 13:01:18 +02:00
gsturi.c uri: there are valid URI protocols with only two letters, like fd:// 2012-07-04 17:39:52 +01:00
gstutils.c tag: Add a scope to taglists 2012-07-28 00:34:41 +02:00
gstvalue.c tests: add more tests for datetime value serialisation/deserialisation 2012-07-07 23:13:20 +01:00
struct_arm.h tests: add abi checks 2012-09-26 17:11:05 +02:00
struct_hppa.h tests: add abi checks 2012-09-26 17:11:05 +02:00
struct_i386.h tests: add abi checks 2012-09-26 17:11:05 +02:00
struct_ppc32.h tests: add abi checks 2012-09-26 17:11:05 +02:00
struct_ppc64.h tests: add abi checks 2012-09-26 17:11:05 +02:00
struct_sparc.h tests: add abi checks 2012-09-26 17:11:05 +02:00
struct_x86_64.h tests: add abi checks 2012-09-26 17:11:05 +02:00