Maintain frame-snap for position and trim when set_video_frame_rate is called (#1335).
[dcpomatic.git] / test / repeat_frame_test.cc
index 3ca9a738a12a3a84e9d220eed31a0b7ecfeeb361..fd64ba018cbf47746798220f5438de28d9b17c5b 100644 (file)
@@ -42,6 +42,7 @@ BOOST_AUTO_TEST_CASE (repeat_frame_test)
        film->set_name ("repeat_frame_test");
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_isdcf_name ("TST"));
+       film->set_interop (false);
        shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/red_24.mp4"));
        film->examine_and_add_content (c);
 
@@ -53,8 +54,6 @@ BOOST_AUTO_TEST_CASE (repeat_frame_test)
        film->make_dcp ();
        wait_for_jobs ();
 
-       /* Should be 31 frames of red; the last one gets replaced with black rather
-          than repeated.
-       */
+       /* Should be 32 frames of red */
        check_dcp ("test/data/repeat_frame_test", film->dir (film->dcp_name ()));
 }