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/export_config.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/export_config.cc')
| -rw-r--r-- | src/lib/export_config.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/export_config.cc b/src/lib/export_config.cc index 79042e59c..fc91c8676 100644 --- a/src/lib/export_config.cc +++ b/src/lib/export_config.cc @@ -21,11 +21,11 @@ #include "config.h" #include "export_config.h" -#include <dcp/raw_convert.h> #include <dcp/warnings.h> LIBDCP_DISABLE_WARNINGS #include <libxml++/libxml++.h> LIBDCP_ENABLE_WARNINGS +#include <fmt/format.h> using std::string; @@ -106,7 +106,7 @@ ExportConfig::write(xmlpp::Element* element) const cxml::add_text_child(element, "MixdownToStereo", _mixdown_to_stereo ? "1" : "0"); cxml::add_text_child(element, "SplitReels", _split_reels ? "1" : "0"); cxml::add_text_child(element, "SplitStreams", _split_streams ? "1" : "0"); - cxml::add_text_child(element, "X264CRF", dcp::raw_convert<string>(_x264_crf)); + cxml::add_text_child(element, "X264CRF", fmt::to_string(_x264_crf)); } |
