diff --git a/gst-libs/gst/audio/gstaudiodecoder.c b/gst-libs/gst/audio/gstaudiodecoder.c index 5ed2af107a..2e3d1986b4 100644 --- a/gst-libs/gst/audio/gstaudiodecoder.c +++ b/gst-libs/gst/audio/gstaudiodecoder.c @@ -1008,7 +1008,7 @@ gst_audio_decoder_drain (GstAudioDecoder * dec) { GstFlowReturn ret; - if (dec->priv->drained) + if (dec->priv->drained && !dec->priv->gather) return GST_FLOW_OK; else { /* dispatch reverse pending buffers */