diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-20 14:25:04 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-03 22:55:23 +0200 |
| commit | 56062db51268e35bb65e1584d8e0b45fffae65dd (patch) | |
| tree | e1b4fd284ddc3c914d2fdb14658c55783b78c949 /src/lib/fcpxml.cc | |
| parent | 8bcbfd3df701915dcac298c54521b3fe4c555b24 (diff) | |
Increase timebase of Time so that more frame rates are possible without rounding (#2919).
Diffstat (limited to 'src/lib/fcpxml.cc')
| -rw-r--r-- | src/lib/fcpxml.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/fcpxml.cc b/src/lib/fcpxml.cc index f6f3747e9..b7798b0b9 100644 --- a/src/lib/fcpxml.cc +++ b/src/lib/fcpxml.cc @@ -44,7 +44,7 @@ convert_time(string const& time) throw FCPXMLError(fmt::format("Unexpected time format {}", time)); } - return dcpomatic::ContentTime{dcp::raw_convert<int64_t>(parts[0]) * dcpomatic::ContentTime::HZ / dcp::raw_convert<int64_t>(parts[1])}; + return dcpomatic::ContentTime{dcp::raw_convert<int64_t>(parts[0]), dcp::raw_convert<int64_t>(parts[1])}; } |
