diff options
| author | Carl Hetherington <cth@carlh.net> | 2026-01-25 23:37:54 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2026-01-25 23:37:54 +0100 |
| commit | 477ea48409c80bbc047c547bb222e87f994f5afa (patch) | |
| tree | b3d2e0f33aceb313559fdee75064e395cf27f700 /src | |
| parent | ae52cd1bb3d469fe4cb5c32b314a6b8a67f15f0e (diff) | |
Fix incorrect calculation of DCP time from Atmos content time for the 2nd and subsequent reels.
This would cause only the 1st reel of atmos content to make it into the
DCP.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/player.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/player.cc b/src/lib/player.cc index 12a1b39cd..dadf2c73e 100644 --- a/src/lib/player.cc +++ b/src/lib/player.cc @@ -1617,7 +1617,7 @@ Player::atmos(weak_ptr<Piece> weak_piece, ContentAtmos data) auto const vfr = film->video_frame_rate(); - DCPTime const dcp_time = DCPTime::from_frames(data.frame, vfr) - DCPTime(piece->content->trim_start(), FrameRateChange(vfr, vfr)); + DCPTime const dcp_time = content_time_to_dcp(piece, ContentTime::from_frames(data.frame, vfr)); if (dcp_time < piece->content->position() || dcp_time >= (piece->content->end(film))) { return; } |
