summaryrefslogtreecommitdiff
path: root/src/lib/dcp_decoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2014-07-10 09:40:56 +0100
committerCarl Hetherington <cth@carlh.net>2014-07-10 09:40:56 +0100
commit53a18f3564b6dcd431e44b01ab2a505be135d2b7 (patch)
tree633b1afa240e71a5a329503be8fc6092d7ec3a0a /src/lib/dcp_decoder.cc
parent63f506966cc4e9c459b3bcb430a11481f9d3a24a (diff)
Basics of direct write of J2K data without encode/decode.
Diffstat (limited to 'src/lib/dcp_decoder.cc')
-rw-r--r--src/lib/dcp_decoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dcp_decoder.cc b/src/lib/dcp_decoder.cc
index 6e59f6cde..e9c110108 100644
--- a/src/lib/dcp_decoder.cc
+++ b/src/lib/dcp_decoder.cc
@@ -85,7 +85,7 @@ DCPDecoder::pass ()
_next += ContentTime::from_frames (1, vfr);
if ((*_reel)->main_picture ()) {
- if ((*_reel)->main_picture()->duration() >= _next.frames (vfr)) {
+ if (_next.frames (vfr) >= (*_reel)->main_picture()->duration()) {
++_reel;
}
}