mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
capsfeatures: Copy ANY flag when copying caps features too
This commit is contained in:
parent
91b3890d70
commit
f7532a7e13
1 changed files with 1 additions and 0 deletions
|
@ -367,6 +367,7 @@ gst_caps_features_copy (const GstCapsFeatures * features)
|
|||
n = gst_caps_features_get_size (features);
|
||||
for (i = 0; i < n; i++)
|
||||
gst_caps_features_add_id (copy, gst_caps_features_get_nth_id (features, i));
|
||||
copy->is_any = features->is_any;
|
||||
|
||||
return copy;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue