diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-30 15:43:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-05 12:58:13 +0100 |
| commit | b03f2277a205ff7e7cdaa12c6e52322ea474a7af (patch) | |
| tree | d6067668105b2f0c6d0651bd1b8bd4186e0b8893 /src/lib/hints.cc | |
| parent | e46ff5f1cf168fb73ea930f3e8469165e5f6644e (diff) | |
Bump libdcp for raw_convert changes.
raw_convert<string> is gone, so here we use fmt::{to_string,format} instead.
Other raw_converts now use fast_float.
Diffstat (limited to 'src/lib/hints.cc')
| -rw-r--r-- | src/lib/hints.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/hints.cc b/src/lib/hints.cc index 4a13f77a0..b929a3746 100644 --- a/src/lib/hints.cc +++ b/src/lib/hints.cc @@ -40,9 +40,9 @@ #include "writer.h" #include <dcp/cpl.h> #include <dcp/filesystem.h> -#include <dcp/raw_convert.h> #include <dcp/reel.h> #include <dcp/reel_text_asset.h> +#include <fmt/format.h> #include <boost/algorithm/string.hpp> #include <iostream> @@ -346,7 +346,7 @@ Hints::check_loudness () float const peak = max (sample_peak[i].peak, true_peak.empty() ? 0 : true_peak[i]); float const peak_dB = linear_to_db(peak) + an->gain_correction(film()->playlist()); if (peak_dB > -3) { - ch += dcp::raw_convert<string>(short_audio_channel_name(i)) + ", "; + ch += fmt::to_string(short_audio_channel_name(i)) + ", "; } } |
