From 056283ff8561850af4a68a22bfec6dcafc42c8dd Mon Sep 17 00:00:00 2001 From: Mathieu Duponchelle Date: Wed, 17 Jun 2015 16:12:13 +0200 Subject: [PATCH] concat: when releasing pad, send EOS appropriately. Previously, concat sent an EOS if there was a next pad. https://bugzilla.gnome.org/show_bug.cgi?id=751107 --- plugins/elements/gstconcat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/elements/gstconcat.c b/plugins/elements/gstconcat.c index 839ff2f87e..41e93f789b 100644 --- a/plugins/elements/gstconcat.c +++ b/plugins/elements/gstconcat.c @@ -354,7 +354,7 @@ gst_concat_release_pad (GstElement * element, GstPad * pad) g_mutex_lock (&self->lock); if (self->current_sinkpad == GST_PAD_CAST (spad)) { - eos = ! !gst_concat_switch_pad (self); + eos = !gst_concat_switch_pad (self); current_pad_removed = TRUE; do_notify = TRUE; }