summaryrefslogtreecommitdiff
path: root/src/lib/dcp_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-11-03 09:44:25 +0000
committerCarl Hetherington <cth@carlh.net>2015-11-03 09:44:25 +0000
commita7d41b99fd060cd7b9a9791d60b980fa11448e70 (patch)
tree4ee7ade99e15cf4e6af2fd821120eb61337cd9d4 /src/lib/dcp_decoder.cc
parent85da4854a6e3cfa27444ccb45065871243e00a7d (diff)
Fix confusion over when DCPDecoder::_next means wrt reels.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
-rw-r--r--src/lib/dcp_decoder.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc
index 04fffb981..c968259b3 100644
--- a/src/lib/dcp_decoder.cc
+++ b/src/lib/dcp_decoder.cc
@@ -131,6 +131,7 @@ DCPDecoder::pass (PassReason reason, bool)
if ((*_reel)->main_picture ()) {
if (_next.frames_round (vfr) >= (*_reel)->main_picture()->duration()) {
++_reel;
+ _next = ContentTime ();
}
}