summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2019-04-30 10:05:23 +0200
committerPaul B Mahol <onemda@gmail.com>2019-04-30 10:05:23 +0200
commitc82d81ba4217d41bbe54bf738a014c6379398e95 (patch)
treee9bab48fbb4f4edd6c6e771f30eff1a3dc2172af
parentac551c54b13834f1ddf2b0f2196d6c8d817c4fcd (diff)
downloadffmpeg-streaming-c82d81ba4217d41bbe54bf738a014c6379398e95.zip
ffmpeg-streaming-c82d81ba4217d41bbe54bf738a014c6379398e95.tar.gz
avfilter/af_dynaudnorm: always update delay when flushing
-rw-r--r--libavfilter/af_dynaudnorm.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_dynaudnorm.c b/libavfilter/af_dynaudnorm.c
index 6f6541c..7c87ebc 100644
--- a/libavfilter/af_dynaudnorm.c
+++ b/libavfilter/af_dynaudnorm.c
@@ -715,6 +715,7 @@ static int flush(AVFilterLink *outlink)
s->pts = out->pts;
ret = ff_filter_frame(outlink, out);
+ s->delay = s->queue.available;
}
return ret;
OpenPOWER on IntegriCloud