mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-22 14:06:23 +00:00
capsfilter: Push pending events before a buffer also if upstream never configured caps but we have srcpad caps already
Otherwise we never send pending events downstream that arrive after we configured caps on the srcpad. https://bugzilla.gnome.org/show_bug.cgi?id=737735
This commit is contained in:
parent
2b6298ebc5
commit
798cafa7fc
1 changed files with 3 additions and 0 deletions
|
@ -341,6 +341,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);
|
||||
|
|
Loading…
Reference in a new issue