mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 06:54:49 +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;
|
GstFlowReturn ret;
|
||||||
|
|
||||||
if (dec->priv->drained)
|
if (dec->priv->drained && !dec->priv->gather)
|
||||||
return GST_FLOW_OK;
|
return GST_FLOW_OK;
|
||||||
else {
|
else {
|
||||||
/* dispatch reverse pending buffers */
|
/* dispatch reverse pending buffers */
|
||||||
|
|
Loading…
Reference in a new issue