gstreamer/tests/check
Henry Wilkes 407e32588d caps: fix is_strictly_equal
Fixed gst_caps_is_strictly_equal() to take into account whether either of
the caps are ANY caps. Previously, two ANY caps could be considered not
strictly equal if one of them still contained some remnant *internal*
structure (this can happen if an ANY caps has emerged from an append or
merge operation). Also, an ANY caps with no remnant internal structures
was considered strictly equal to an EMPTY caps. Similarly, a non-ANY caps
was considered strictly equal to an ANY caps if its remnant internal
structures happened to match.

Also changed gst_caps_is_fixed to take into account that an ANY caps
should not be considered fixed even if it contains a single remnant
internal fixed structure. This affects gst_caps_is_equal(), which uses a
separate method if both caps are fixed. Previously, this meant that a
non-ANY fixed caps was considered equal to an ANY caps if it contained a
single matching remnant internal structure.

Added some tests for these two equality methods, which covers the above
examples, as well as asserts existing behaviour.

Fixes #496
2020-02-12 14:41:40 +00:00
..
elements Remove deprecated GTimeVal 2019-12-10 19:18:32 -05:00
generic Remove autotools build system 2019-10-13 16:10:42 +01:00
gst caps: fix is_strictly_equal 2020-02-12 14:41:40 +00:00
libs tests-clock: Fix race in test_late_crank 2019-12-20 15:51:45 +00:00
pipelines parse: add support for presets 2019-12-28 04:02:16 +00:00
tools tests: refactor tools check a little 2014-10-31 16:10:01 +00:00
gstreamer.supp tests: Add test for new live-objects leaktracer API 2019-07-02 15:13:26 +05:30
meson.build tests: Add test for new live-objects leaktracer API 2019-07-02 15:13:26 +05:30