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.
This commit is contained in:
parent
1f900dc20d
commit
981070eb44
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user