From 8f8430ee9e20e8f7f352cda234bc158d268d181c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Olivier=20Cr=C3=AAte?= Date: Thu, 19 Feb 2015 18:30:35 -0500 Subject: [PATCH] aggregator: Don't try to push tags while flush seeking The downstream segment could have been flushed already, so need to re-send the segment event before re-sending the tags. https://bugzilla.gnome.org/show_bug.cgi?id=742684 --- libs/gst/base/gstaggregator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/gst/base/gstaggregator.c b/libs/gst/base/gstaggregator.c index 947bfea..6c94678 100644 --- a/libs/gst/base/gstaggregator.c +++ b/libs/gst/base/gstaggregator.c @@ -448,7 +448,7 @@ gst_aggregator_push_mandatory_events (GstAggregator * self) GST_DEBUG_OBJECT (self, "pushing segment %" GST_PTR_FORMAT, segment); } - if (priv->tags && priv->tags_changed) { + if (priv->tags && priv->tags_changed && !self->priv->flush_seeking) { tags = gst_event_new_tag (gst_tag_list_ref (priv->tags)); priv->tags_changed = FALSE; } -- 2.7.4