summaryrefslogtreecommitdiff
path: root/test/j2k_video_bit_rate_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-12-30 15:43:14 +0100
committerCarl Hetherington <cth@carlh.net>2025-01-05 12:58:13 +0100
commitb03f2277a205ff7e7cdaa12c6e52322ea474a7af (patch)
treed6067668105b2f0c6d0651bd1b8bd4186e0b8893 /test/j2k_video_bit_rate_test.cc
parente46ff5f1cf168fb73ea930f3e8469165e5f6644e (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 'test/j2k_video_bit_rate_test.cc')
-rw-r--r--test/j2k_video_bit_rate_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/j2k_video_bit_rate_test.cc b/test/j2k_video_bit_rate_test.cc
index b3eccd98a..5ab1880bf 100644
--- a/test/j2k_video_bit_rate_test.cc
+++ b/test/j2k_video_bit_rate_test.cc
@@ -30,8 +30,8 @@
#include "lib/film.h"
#include "lib/image_content.h"
#include "lib/video_content.h"
-#include <dcp/raw_convert.h>
#include <boost/test/unit_test.hpp>
+#include <fmt/format.h>
using std::make_shared;
@@ -45,7 +45,7 @@ check (int target_bits_per_second)
int const duration = 10;
- string const name = "bandwidth_test_" + dcp::raw_convert<string> (target_bits_per_second);
+ string const name = "bandwidth_test_" + fmt::to_string(target_bits_per_second);
auto content = make_shared<ImageContent>(TestPaths::private_data() / "prophet_frame.tiff");
auto film = new_test_film(name, { content }, &cl);
film->set_video_bit_rate(VideoEncoding::JPEG2000, target_bits_per_second);