1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

lavfi/asetnsamples: push as many frames as ready

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
This commit is contained in:
Andrey Utkin 2012-08-08 01:55:03 +03:00 committed by Stefano Sabatini
parent 082b745d33
commit a32fa21d17

View File

@ -151,7 +151,7 @@ static int filter_samples(AVFilterLink *inlink, AVFilterBufferRef *insamples)
asns->next_out_pts = insamples->pts;
avfilter_unref_buffer(insamples);
if (av_audio_fifo_size(asns->fifo) >= asns->nb_out_samples)
while (av_audio_fifo_size(asns->fifo) >= asns->nb_out_samples)
push_samples(outlink);
return 0;
}