diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c index 3442ff3b74..1a02b84ed2 100644 --- a/plugins/elements/gstcapsfilter.c +++ b/plugins/elements/gstcapsfilter.c @@ -122,6 +122,8 @@ gst_capsfilter_class_init (GstCapsFilterClass * klass) static void gst_capsfilter_init (GstCapsFilter * filter, GstCapsFilterClass * g_class) { + GstBaseTransform *trans = GST_BASE_TRANSFORM (filter); + gst_base_transform_set_gap_aware (trans, TRUE); filter->filter_caps = gst_caps_new_any (); }