gstreamer/tests/check/gst
Sebastian Dröge dc63e38219 caps: Merge structures when intersecting instead of appending them
This prevents adding duplicates over and over again to the resulting
caps if they already describe the new intersection result.

While this changes intersection from O(n*m) to O(n^2*m), it results in
smaller caps, which in the end will decrease further processing times.

For example in an audioconvert ! audioconvert ! audioconvert pipeline,
when forwarding the downstream caps preference in basetransform
(see e26da72de25a91c3eaad9f7c8b2f53ba888a0394) this results in
16 instead of 191 caps structures.
2011-05-05 15:22:14 +02:00
..
.gitignore check: Ignore new gstmeta binary 2011-04-09 04:07:04 +02:00
capslist.h tests: Add a couple of extra caps strings to test 2010-08-28 17:05:29 +10: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
gstbin.c tests: clean up properly in the bin test_link_structure_change unit test 2011-04-24 11:48:21 +01:00
gstbuffer.c Revert "context: use context on buffers instead of caps" 2011-05-05 13:17:08 +02:00
gstbufferlist.c bufferlist: simplify bufferlists 2011-03-31 17:51:02 +02:00
gstbus.c check: fix a leak in the bus unit test 2011-02-16 17:56:38 +01:00
gstcaps.c caps: Merge structures when intersecting instead of appending them 2011-05-05 15:22:14 +02:00
gstchildproxy.c checks: Fix string leaks in the new childproxy test 2009-10-08 02:20:51 +01:00
gstclock.c clock: use the new gst_clock_id_wait_async_full. 2010-07-06 10:46:42 +02:00
gstcpp.cc tests: rebuild one test using cpp 2010-09-22 10:22:40 +03:00
gstdatetime.c gstdatetime: Fix handling of timezones 2010-12-02 16:28:43 -03:00
gstelement.c element: Add test for inheriting metadata/pad templates 2011-04-16 15:59:40 +02:00
gstelementfactory.c tests: make some tests compile 2011-03-28 20:08:46 +02:00
gstevent.c event: add QoS event type 2011-02-10 15:21:45 +01:00
gstghostpad.c Revert "gstpad: Return pad template in get_caps if pad is not negotiable" 2010-06-15 11:54:19 +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 API: add FIXME and DUMPMEM log levels and convenience macros 2009-04-08 21:32:05 +01:00
gstinterface.c gst/gstinterface.c: Don't crash if the element supports the interface queried, but does not implement GstImplementsIn... 2008-02-29 18:38:54 +00:00
gstiterator.c check: Attempt to fix type-punning warning in the gstiterator test 2009-10-07 16:36:31 +01:00
gstmessage.c check: add progress message unit test 2011-02-15 18:55:22 +01:00
gstmeta.c buffer: more API tweaks 2011-03-30 16:47:55 +02:00
gstminiobject.c Merge branch 'master' into 0.11 2011-05-05 12:27:51 +02:00
gstobject.c check: fix object unit test 2010-12-07 15:20:12 +01:00
gstpad.c Revert "context: use context on buffers instead of caps" 2011-05-05 13:17:08 +02:00
gstparamspecs.c tests: Use G_DEFINE_TYPE instead of GST_BOILERPLATE 2011-04-19 11:45:37 +02:00
gstpipeline.c tests: add simple pipeline-in-pipeline unit test 2011-04-21 12:33:10 +01:00
gstplugin.c plugin: remove deprecated methods 2010-12-07 15:31:27 +01:00
gstpoll.c win32: Fix build failures of tests 2010-03-11 21:02:45 +01:00
gstpreset.c core: store presets, registry and plugins in XDG directories. 2011-05-03 09:43:22 +02:00
gstquery.c gstquery: new buffering_ranges API 2010-09-03 19:55:25 +02:00
gstregistry.c Re-enable and fix disabled bit of the registry test 2009-10-06 19:51:44 +01:00
gstsegment.c gstsegment: Actually start==stop==segment_start is inside the segment 2009-08-11 13:21:35 +02:00
gststructure.c tests: make some tests compile 2011-03-28 20:08:46 +02:00
gstsystemclock.c clock: use the new gst_clock_id_wait_async_full. 2010-07-06 10:46:42 +02:00
gsttag.c tests: make some tests compile 2011-03-28 20:08:46 +02:00
gsttagsetter.c tests: Use G_DEFINE_TYPE instead of GST_BOILERPLATE 2011-04-19 11:45:37 +02:00
gsttask.c tests: make sure the tasks are joined 2009-07-20 18:03:21 +02:00
gsturi.c tests/check/gst/gsturi.c: Also check for the other file URI variant on win32. 2007-09-12 16:35:48 +00:00
gstutils.c Merge branch 'master' into 0.11 2011-04-16 08:59:58 +02:00
gstvalue.c Merge branch 'master' into 0.11 2011-04-16 08:59:58 +02:00
gstxml.c Remove executable bits on xml unit test. 2009-10-20 12:21:41 -07:00
struct_arm.h tests: add abi check data for ARM 2011-02-24 15:03:03 +02:00
struct_hppa.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_i386.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_ppc32.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_ppc64.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_sparc.h tests: remove ABI checks for GstClockEntry. 2010-07-06 10:46:42 +02:00
struct_x86_64.h gstabi: Add some new structures for x86-64 2011-03-31 10:53:03 +02:00