dvbsuboverlay: Do not try to add a feature to a caps features ANY
It does not makes sense and asserts. Based on 7f9aac386fd5d5921c80100889a5f212c0148a88 from gst-plugins-base.
This commit is contained in:
parent
91717ca5c2
commit
066cf18336
@ -458,7 +458,9 @@ gst_dvbsub_overlay_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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user