mirror of https://git.ffmpeg.org/ffmpeg.git
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@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
8f4b176c55
commit
d76f0c0378
|
@ -37,7 +37,7 @@
|
||||||
* Powers of 2 are recommended.
|
* Powers of 2 are recommended.
|
||||||
*/
|
*/
|
||||||
#ifndef FF_BUFQUEUE_SIZE
|
#ifndef FF_BUFQUEUE_SIZE
|
||||||
#define FF_BUFQUEUE_SIZE 32
|
#define FF_BUFQUEUE_SIZE 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "avfilter.h"
|
#include "avfilter.h"
|
||||||
|
|
Loading…
Reference in New Issue