Allow specification of video bit rate separately for J2K and MPEG2.
[dcpomatic.git] / test / remake_with_subtitle_test.cc
index 68f5c4ebba0998dcc8a99d0576c971577007602b..70d38c1ebcef63dab0cc8d9989112cd2c7b29eba 100644 (file)
@@ -27,7 +27,6 @@
 #include <boost/test/unit_test.hpp>
 
 
-using std::shared_ptr;
 using std::dynamic_pointer_cast;
 
 
@@ -49,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
 }