mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +00:00
aggregator: Always handle sync'ed events on output thread
Having all synchronized events always be handled on the output thread should make synchronization easier. https://bugzilla.gnome.org/show_bug.cgi?id=781673
This commit is contained in:
parent
4cec1925e3
commit
d2335bce9b
1 changed files with 1 additions and 2 deletions
|
@ -2341,8 +2341,7 @@ gst_aggregator_pad_event_func (GstPad * pad, GstObject * parent,
|
||||||
GST_OBJECT_UNLOCK (aggpad);
|
GST_OBJECT_UNLOCK (aggpad);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!gst_aggregator_pad_queue_is_empty (aggpad) &&
|
if (GST_EVENT_TYPE (event) != GST_EVENT_FLUSH_STOP) {
|
||||||
GST_EVENT_TYPE (event) != GST_EVENT_FLUSH_STOP) {
|
|
||||||
GST_DEBUG_OBJECT (aggpad, "Store event in queue: %" GST_PTR_FORMAT,
|
GST_DEBUG_OBJECT (aggpad, "Store event in queue: %" GST_PTR_FORMAT,
|
||||||
event);
|
event);
|
||||||
g_queue_push_head (&aggpad->priv->buffers, event);
|
g_queue_push_head (&aggpad->priv->buffers, event);
|
||||||
|
|
Loading…
Reference in a new issue