Commit ca662eb5 authored by Edward Hervey's avatar Edward Hervey 🤘
Browse files

capsfilter. Always calls _suggest, even with NULL caps. Fixes #574805

parent 322d0b0f
......@@ -200,12 +200,12 @@ gst_capsfilter_set_property (GObject * object, guint prop_id,
}
GST_OBJECT_UNLOCK (GST_BASE_TRANSFORM_SINK_PAD (object));
if (suggest) {
GST_DEBUG_OBJECT (capsfilter, "suggest new caps %" GST_PTR_FORMAT,
suggest);
gst_base_transform_suggest (GST_BASE_TRANSFORM (object), suggest, 0);
GST_DEBUG_OBJECT (capsfilter, "suggesting new caps %" GST_PTR_FORMAT,
suggest);
gst_base_transform_suggest (GST_BASE_TRANSFORM (object), suggest, 0);
if (suggest)
gst_caps_unref (suggest);
}
break;
}
default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment