diff options
| author | Carl Hetherington <cth@carlh.net> | 2014-07-10 09:40:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2014-07-10 09:40:56 +0100 |
| commit | 53a18f3564b6dcd431e44b01ab2a505be135d2b7 (patch) | |
| tree | 633b1afa240e71a5a329503be8fc6092d7ec3a0a /src/lib/dcp_decoder.cc | |
| parent | 63f506966cc4e9c459b3bcb430a11481f9d3a24a (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.cc | 2 |
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; } } |
