Fix up remake_with_subtitle_test.
[dcpomatic.git] / test / remake_with_subtitle_test.cc
index 0190e9837c0f4150c12500d288aead3bbee7eb7b..bc6d4179866af71799a77de035912232e9a34bab 100644 (file)
@@ -28,6 +28,9 @@
 using boost::shared_ptr;
 using boost::dynamic_pointer_cast;
 
+/** Check that if we remake a DCP having turned off subtitles the code notices
+ *  and doesn't re-use the old video data.
+ */
 BOOST_AUTO_TEST_CASE (remake_with_subtitle_test)
 {
        shared_ptr<Film> film = new_test_film2 ("remake_with_subtitle_test");
@@ -45,6 +48,5 @@ BOOST_AUTO_TEST_CASE (remake_with_subtitle_test)
        film->make_dcp ();
        BOOST_REQUIRE (!wait_for_jobs ());
 
-       /* Nothing is being checked here so this test is not complete */
-       DCPOMATIC_ASSERT (false);
+       check_one_frame (film->dir(film->dcp_name()), 325, private_data / "prophet_frame_325_no_subs.j2c");
 }