summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-01-05 14:40:38 +0000
committerCarl Hetherington <cth@carlh.net>2015-01-05 14:40:38 +0000
commitae89ae6a4cc626df3e32fdb17fef1b9df33858aa (patch)
treee2085f221e603b8f8b8f4885ed23235410f5377b /src/lib/video_decoder.cc
parent4647b6190f0c6c3f048df4b4c44101f6eaef489b (diff)
Increase stored-frames limit; fix skip_frame_test reference.
Diffstat (limited to 'src/lib/video_decoder.cc')
-rw-r--r--src/lib/video_decoder.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/video_decoder.cc b/src/lib/video_decoder.cc
index efcbb05ad..1bb460da3 100644
--- a/src/lib/video_decoder.cc
+++ b/src/lib/video_decoder.cc
@@ -290,8 +290,10 @@ VideoDecoder::video (shared_ptr<const ImageProxy> image, VideoFrame frame)
copy (to_push.begin(), to_push.end(), back_inserter (_decoded_video));
- /* We can't let this build up too much or we will run out of memory */
- DCPOMATIC_ASSERT (_decoded_video.size() < 32);
+ /* We can't let this build up too much or we will run out of memory. We need to allow
+ the most frames that can exist between blocks of sound in a multiplexed file.
+ */
+ DCPOMATIC_ASSERT (_decoded_video.size() <= 96);
}
void