diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-10-22 14:44:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-10-22 14:44:41 +0100 |
| commit | f24452ee5fe7af655a16d4e1a3bb1c87a54596cc (patch) | |
| tree | 683cc530ae0807079a98913232fe1290c6b87689 /src/lib/film.cc | |
| parent | 7a65b08f1b09beacc0e0a8060641f677683d400c (diff) | |
Somewhat hackily fix rounding of reel lengths.
Diffstat (limited to 'src/lib/film.cc')
| -rw-r--r-- | src/lib/film.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index 4a26ded3d..3cf46220e 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1292,7 +1292,7 @@ list<DCPTimePeriod> Film::reels () const { list<DCPTimePeriod> p; - DCPTime const len = length (); + DCPTime const len = length().round_up (video_frame_rate ()); switch (reel_type ()) { case REELTYPE_SINGLE: |
