assrender: Do not try to add a feature to a caps features ANY

It does not makes sense and asserts

Based on 7f9aac386f from gst-plugins-base.
This commit is contained in:
Sebastian Dröge 2014-05-11 07:56:17 +02:00
parent 066cf18336
commit d578cbf7d7

View file

@ -521,7 +521,9 @@ gst_ass_render_add_feature_and_intersect (GstCaps * caps,
caps_size = gst_caps_get_size (new_caps);
for (i = 0; i < caps_size; i++) {
GstCapsFeatures *features = gst_caps_get_features (new_caps, i);
gst_caps_features_add (features, feature);
if (!gst_caps_features_is_any (features)) {
gst_caps_features_add (features, feature);
}
}
gst_caps_append (new_caps, gst_caps_intersect_full (caps,