mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
tests: caps: add check for caps with features intersection
Checks that a caps without features doesn't intersect with one that has features
This commit is contained in:
parent
afffd9497f
commit
f7ec33009a
1 changed files with 1 additions and 0 deletions
|
@ -1122,6 +1122,7 @@ GST_START_TEST (test_features)
|
||||||
gst_caps_features_add (f1, "memory:VASurface");
|
gst_caps_features_add (f1, "memory:VASurface");
|
||||||
|
|
||||||
fail_unless (gst_caps_features_is_equal (f1, gst_caps_get_features (c1, 0)));
|
fail_unless (gst_caps_features_is_equal (f1, gst_caps_get_features (c1, 0)));
|
||||||
|
fail_if (gst_caps_can_intersect (c1, c2));
|
||||||
|
|
||||||
f2 = gst_caps_get_features (c2, 0);
|
f2 = gst_caps_get_features (c2, 0);
|
||||||
fail_unless (gst_caps_features_is_equal
|
fail_unless (gst_caps_features_is_equal
|
||||||
|
|
Loading…
Reference in a new issue