From b2a3e877c0b2327242e4c02dcc4d29eff774ce4c Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 6 Nov 2015 15:43:21 +0100 Subject: [PATCH] video: increase avi pts buffer size When decoding on RPI/MMAL, the buffering between decoder input and output can be quite excessive. --- video/decode/dec_video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index 28844f5882..ad33d784f6 100644 --- a/video/decode/dec_video.h +++ b/video/decode/dec_video.h @@ -56,7 +56,7 @@ struct dec_video { int num_codec_dts_problems; // PTS sorting (needed for AVI-style timestamps) - double buffered_pts[64]; + double buffered_pts[128]; int num_buffered_pts; // PTS or DTS of packet first read