gstreamer/testsuite/caps
Benjamin Otte 614b4d1627 gst/gstcaps.c: check for ANY caps before appending/unioning
Original commit message from CVS:
* gst/gstcaps.c: (gst_caps_append), (gst_caps_union):
check for ANY caps before appending/unioning
* gst/gstcaps.c: (gst_caps_is_subset),
(gst_caps_is_equal), (gst_caps_structure_subtract_field),
(gst_caps_structure_subtract), (gst_caps_subtract):
* gst/gstcaps.h:
add gst_caps_is_equal, gst_caps_is_subset and gst_caps_subtract to
the API. deprecate gst_caps_is_equal_fixed
* gst/gstpad.c: (gst_pad_try_set_caps):
* gst/gstqueue.c: (gst_queue_link):
s/gst_caps_is_equal_fixed/gst_caps_is_equal/
* gst/gststructure.c: (gst_structure_get_name_id):
* gst/gststructure.h:
add function gst_structure_get_name_id
* gst/gstvalue.c: (gst_value_subtract_int_int_range),
(gst_value_create_new_range), (gst_value_subtract_int_range_int),
(gst_value_subtract_int_range_int_range),
(gst_value_subtract_double_double_range),
(gst_value_subtract_double_range_double),
(gst_value_subtract_double_range_double_range),
(gst_value_subtract_from_list), (gst_value_subtract_list),
(gst_value_can_intersect), (gst_value_subtract),
(gst_value_can_subtract), (gst_value_register_subtract_func),
(_gst_value_initialize):
* gst/gstvalue.h:
add support for subtracting values from each other. Note that
subtracting means subtracting as in set theory. Required for caps
stuff above.
* testsuite/caps/.cvsignore:
* testsuite/caps/Makefile.am:
* testsuite/caps/erathostenes.c: (erathostenes), (main):
* testsuite/caps/sets.c: (check_caps), (main):
* testsuite/caps/subtract.c: (check_caps), (main):
add tests for subtraction and equality code.
2004-04-21 03:25:13 +00:00
..
.gitignore gst/gstcaps.c: check for ANY caps before appending/unioning 2004-04-21 03:25:13 +00:00
app_fixate.c don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
audioscale.c gst/gstvalue.c: Add some union implementations. We didn't have any previously. 2004-03-31 21:49:19 +00:00
caps.c don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
compatibility.c gst-indent run on core 2004-03-13 15:27:01 +00:00
erathostenes.c gst/gstcaps.c: check for ANY caps before appending/unioning 2004-04-21 03:25:13 +00:00
filtercaps.c testsuite/caps/filtercaps.c: fix test to test things correctly (caps are complicated) 2004-04-20 03:07:12 +00:00
fixed.c gst-indent run on core 2004-03-13 15:27:01 +00:00
intersect2.c don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
intersection.c don't mix tabs and spaces 2004-03-15 19:27:17 +00:00
Makefile.am gst/gstcaps.c: check for ANY caps before appending/unioning 2004-04-21 03:25:13 +00:00
normalisation.c gst-indent run on core 2004-03-13 15:27:01 +00:00
sets.c gst/gstcaps.c: check for ANY caps before appending/unioning 2004-04-21 03:25:13 +00:00
string-conversions.c gst/gstbuffer.c: (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed to using it. 2004-04-13 02:22:02 +00:00
subtract.c gst/gstcaps.c: check for ANY caps before appending/unioning 2004-04-21 03:25:13 +00:00
union.c gst-indent run on core 2004-03-13 15:27:01 +00:00
value_compare.c gst-indent run on core 2004-03-13 15:27:01 +00:00
value_intersect.c gst-indent run on core 2004-03-13 15:27:01 +00:00
value_serialize.c gst/gstbuffer.c: (gst_buffer_free_chunk): Added gst_buffer_get_type() and changed to using it. 2004-04-13 02:22:02 +00:00