From 5015759334214da4a85fafd54e67319e380e25bd Mon Sep 17 00:00:00 2001 From: wm4 Date: Tue, 6 Oct 2015 18:00:28 +0200 Subject: video: increase maximum number of buffered AVI pts samples While b-frame reordering limits the maximum required number to around 16, the number of additionally buffered frames can be much higher. Guess when this actually matters? (For the libavcodec MMAL wrapper.) --- video/decode/dec_video.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/decode') diff --git a/video/decode/dec_video.h b/video/decode/dec_video.h index d40405afb9..2edf8b67c4 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[32]; + double buffered_pts[64]; int num_buffered_pts; // PTS or DTS of packet last read -- cgit v1.2.3