From: Mathieu Duponchelle Date: Wed, 17 Jun 2015 14:12:13 +0000 (+0200) Subject: concat: when releasing pad, send EOS appropriately. X-Git-Tag: 1.6.1~179 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=056283ff8561850af4a68a22bfec6dcafc42c8dd;p=platform%2Fupstream%2Fgstreamer.git 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 --- diff --git a/plugins/elements/gstconcat.c b/plugins/elements/gstconcat.c index 839ff2f..41e93f7 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; }