mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-29 20:35:40 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue