summaryrefslogtreecommitdiff
path: root/src/lib/video_decoder.cc
diff options
context:
space:
mode:
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