Adapt reels_test for 4a8151a.
[dcpomatic.git] / test / reels_test.cc
index 9e8e120a6822072054a75a8e811ccabb12d5f178..b8a0b0a60851ecff8686786e8a1dead183037d69 100644 (file)
@@ -238,8 +238,8 @@ BOOST_AUTO_TEST_CASE (reels_test5)
        film->examine_and_add_content (dcp);
        wait_for_jobs ();
 
-       /* Set to 123 but it will be rounded up to the next frame (4000) */
-       dcp->set_position(DCPTime(123));
+       /* Set to 2123 but it will be rounded up to the next frame (4000) */
+       dcp->set_position(DCPTime(2123));
 
        {
                list<DCPTimePeriod> p = dcp->reels ();
@@ -342,7 +342,6 @@ BOOST_AUTO_TEST_CASE (reels_test8)
        BOOST_REQUIRE (!wait_for_jobs ());
 
        A->set_trim_end (ContentTime::from_seconds (1));
-       cout << to_string(A->length_after_trim()) << "\n";
        film->make_dcp ();
        BOOST_REQUIRE (!wait_for_jobs ());
 }