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:
Thiago Santos 2014-08-09 10:57:56 -03:00
parent afffd9497f
commit f7ec33009a

View file

@ -1122,6 +1122,7 @@ GST_START_TEST (test_features)
gst_caps_features_add (f1, "memory:VASurface");
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);
fail_unless (gst_caps_features_is_equal