summaryrefslogtreecommitdiff
path: root/test/remake_with_subtitle_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-03-08 22:31:01 +0100
committerCarl Hetherington <cth@carlh.net>2024-03-11 09:22:02 +0100
commit8e9da24b4fa8a254d87f293072a4bf44da36b8fa (patch)
treede0b6f9b56e1e227622501ee29bedbf92e08d6cb /test/remake_with_subtitle_test.cc
parent21f64d97a68c16b331a7b61f286c8e7668aa0119 (diff)
Use openjpeg v2.5.2 (#2783).
Tests suggest it is considerably faster: * arrietty on Linux/AMD old: 03:35 new: 03:58 * Sintel.2010.1080p.mkv on Linux/AMD old: 0:29:49 new: 0:22:39 * TRAILER VERSIE 4.mov on Apple M1 old: 6:22 new: 5:15 * TRAILER VERSIE 4.mov on Windows/Intel old: 6:10 new: 4:12
Diffstat (limited to 'test/remake_with_subtitle_test.cc')
-rw-r--r--test/remake_with_subtitle_test.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/test/remake_with_subtitle_test.cc b/test/remake_with_subtitle_test.cc
index 57322d3ac..70d38c1eb 100644
--- a/test/remake_with_subtitle_test.cc
+++ b/test/remake_with_subtitle_test.cc
@@ -48,5 +48,9 @@ BOOST_AUTO_TEST_CASE (remake_with_subtitle_test)
content->only_text()->set_use (false);
make_and_verify_dcp (film);
- check_one_frame (film->dir(film->dcp_name()), 325, TestPaths::private_data() / "prophet_frame_325_no_subs.j2c");
+#ifdef DCPOMATIC_OSX
+ check_one_frame(film->dir(film->dcp_name()), 325, TestPaths::private_data() / "v2.18.x" / "prophet_frame_325_no_subs_mac.j2c");
+#else
+ check_one_frame(film->dir(film->dcp_name()), 325, TestPaths::private_data() / "v2.18.x" / "prophet_frame_325_no_subs.j2c");
+#endif
}