[FFmpeg-cvslog] avfilter/bufferqueue: Increase buffer queue size

Tobias Rapp git at videolan.org
Wed Jun 4 19:01:22 CEST 2014


ffmpeg | branch: master | Tobias Rapp <t.rapp at noa-audio.com> | Tue Jun  3 08:43:24 2014 +0200| [d76f0c0378dfd86883df28d32fdbc9071e2606ff] | committer: Michael Niedermayer

avfilter/bufferqueue: Increase buffer queue size

Avoid buffer overruns when processing some MOV files with the amerge
filter. Files produced by Adobe Premiere Pro CC have up to one second of audio
not interleaved. With common settings (<= 48kHz) that makes up to 47 frames so
a queue length of 64 makes sense.

Fixes ticket #3510.

Reviewed-by: Nicolas George <george at nsup.org>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d76f0c0378dfd86883df28d32fdbc9071e2606ff
---

 libavfilter/bufferqueue.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/bufferqueue.h b/libavfilter/bufferqueue.h
index adbc0fd..f5e5df2 100644
--- a/libavfilter/bufferqueue.h
+++ b/libavfilter/bufferqueue.h
@@ -37,7 +37,7 @@
  * Powers of 2 are recommended.
  */
 #ifndef FF_BUFQUEUE_SIZE
-#define FF_BUFQUEUE_SIZE 32
+#define FF_BUFQUEUE_SIZE 64
 #endif
 
 #include "avfilter.h"



More information about the ffmpeg-cvslog mailing list