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:
parent
082b745d33
commit
a32fa21d17
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user