summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-11-06 15:43:21 +0100
committerwm4 <wm4@nowhere>2015-11-06 17:06:32 +0100
commitb2a3e877c0b2327242e4c02dcc4d29eff774ce4c (patch)
tree97bab86978112a4ecf8464415fcdb2be079a4cf4
parent5f89ba707d9092d43461106396e3a79618531a7e (diff)
downloadmpv-b2a3e877c0b2327242e4c02dcc4d29eff774ce4c.tar.bz2
mpv-b2a3e877c0b2327242e4c02dcc4d29eff774ce4c.tar.xz
video: increase avi pts buffer size
When decoding on RPI/MMAL, the buffering between decoder input and output can be quite excessive.
-rw-r--r--video/decode/dec_video.h2
1 files changed, 1 insertions, 1 deletions
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