Commit 981070eb authored by Mark Nauwelaerts's avatar Mark Nauwelaerts

audiodecoder: having gather queue contents implies some draining is in order

... which ensures e.g. processing and sending last fragment of reverse playback
downstream at EOS.
parent 1f900dc2
......@@ -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 */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment