OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
082b745
)
lavfi/asetnsamples: push as many frames as ready
author
Andrey Utkin
<andrey.krieger.utkin@gmail.com>
Tue, 7 Aug 2012 22:55:03 +0000
(
01:55
+0300)
committer
Stefano Sabatini
<stefasab@gmail.com>
Tue, 14 Aug 2012 11:19:52 +0000
(13:19 +0200)
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
libavfilter/af_asetnsamples.c
patch
|
blob
|
history
diff --git
a/libavfilter/af_asetnsamples.c
b/libavfilter/af_asetnsamples.c
index
23bda8c
..
d0f92d9
100644
(file)
--- a/
libavfilter/af_asetnsamples.c
+++ b/
libavfilter/af_asetnsamples.c
@@
-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;
}