diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-20 22:11:14 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-20 22:11:14 +0000 |
| commit | c60f1742ec62ae8ff4c631d4f4f83be75214ecec (patch) | |
| tree | 4ab19f015ae80679732d8ab16a4beb5e4dacb57e | |
| parent | 28f8b004b31a28d6148b1a1905eff5cf6f1a3600 (diff) | |
Add a debugging message for reel length.
| -rw-r--r-- | src/lib/film.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/lib/film.cc b/src/lib/film.cc index df9f148f4..d1759e0dc 100644 --- a/src/lib/film.cc +++ b/src/lib/film.cc @@ -1505,6 +1505,7 @@ Film::reels () const DCPTime current; /* Integer-divide reel length by the size of one frame to give the number of frames per reel */ Frame const reel_in_frames = _reel_length / ((j2k_bandwidth() / video_frame_rate()) / 8); + LOG_GENERAL ("Reel length is %1, J2K bandwidth %2, frame rate %3, frames per reel %4", _reel_length, j2k_bandwidth(), video_frame_rate(), reel_in_frames); while (current < len) { DCPTime end = min (len, current + DCPTime::from_frames (reel_in_frames, video_frame_rate ())); p.push_back (DCPTimePeriod (current, end)); |
