summaryrefslogtreecommitdiff
path: root/plugins/elements/gstcapsfilter.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/elements/gstcapsfilter.c')
-rw-r--r--plugins/elements/gstcapsfilter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/elements/gstcapsfilter.c b/plugins/elements/gstcapsfilter.c
index 86c0df0e1f..a499453086 100644
--- a/plugins/elements/gstcapsfilter.c
+++ b/plugins/elements/gstcapsfilter.c
@@ -340,6 +340,9 @@ gst_capsfilter_prepare_buf (GstBaseTransform * trans, GstBuffer * input,
} else {
ret = GST_FLOW_NOT_NEGOTIATED;
}
+ } else {
+ gst_capsfilter_push_pending_events (filter, pending_events);
+ pending_events = NULL;
}
g_list_free_full (pending_events, (GDestroyNotify) gst_event_unref);