capsfeatures: Copy ANY flag when copying caps features too

This commit is contained in:
Sebastian Dröge 2013-04-06 22:10:58 +02:00
parent 91b3890d70
commit f7532a7e13

View file

@ -367,6 +367,7 @@ gst_caps_features_copy (const GstCapsFeatures * features)
n = gst_caps_features_get_size (features); n = gst_caps_features_get_size (features);
for (i = 0; i < n; i++) for (i = 0; i < n; i++)
gst_caps_features_add_id (copy, gst_caps_features_get_nth_id (features, i)); gst_caps_features_add_id (copy, gst_caps_features_get_nth_id (features, i));
copy->is_any = features->is_any;
return copy; return copy;
} }