mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-15 22:01:27 +00:00
614b4d1627
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.
50 lines
1.2 KiB
Makefile
50 lines
1.2 KiB
Makefile
include ../Rules
|
|
|
|
|
|
tests_pass = \
|
|
app_fixate \
|
|
intersection \
|
|
compatibility \
|
|
normalisation \
|
|
union \
|
|
string-conversions \
|
|
fixed \
|
|
intersect2 \
|
|
caps \
|
|
value_compare \
|
|
value_intersect \
|
|
value_serialize \
|
|
audioscale \
|
|
filtercaps \
|
|
erathostenes \
|
|
subtract \
|
|
sets
|
|
|
|
tests_fail =
|
|
tests_ignore =
|
|
|
|
app_fixate_LDADD = $(GST_LIBS)
|
|
app_fixate_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
intersection_LDADD = $(GST_LIBS)
|
|
intersection_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
compatibility_LDADD = $(GST_LIBS)
|
|
compatibility_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
normalisation_LDADD = $(GST_LIBS)
|
|
normalisation_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
union_LDADD = $(GST_LIBS)
|
|
union_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
string_conversions_LDADD = $(GST_LIBS)
|
|
string_conversions_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
fixed_LDADD = $(GST_LIBS)
|
|
fixed_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
intersect2_LDADD = $(GST_LIBS)
|
|
intersect2_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
filtercaps_LDADD = $(GST_LIBS)
|
|
filtercaps_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
erathostenes_LDADD = $(GST_LIBS)
|
|
ersthostenes_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
subtract_LDADD = $(GST_LIBS)
|
|
subtract_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
sets_LDADD = $(GST_LIBS)
|
|
sets_CFLAGS = $(GST_CFLAGS) $(XML_CFLAGS)
|
|
|