Plot video and subtitle on one track and audio on the rest in the timeline.
[dcpomatic.git] / test / repeat_frame_test.cc
index d312ae7edeaa6e9b85448f9d7f7a4ef0a1fc4f57..2e325af25a102f12aead78ba9c9570c14b7ad611 100644 (file)
@@ -40,16 +40,17 @@ BOOST_AUTO_TEST_CASE (repeat_frame_test)
        film->set_container (Ratio::from_id ("185"));
        film->set_dcp_content_type (DCPContentType::from_pretty_name ("Test"));
        shared_ptr<FFmpegContent> c (new FFmpegContent (film, "test/data/red_24.mp4"));
-       film->examine_and_add_content (c, true);
+       film->examine_and_add_content (c);
 
        wait_for_jobs ();
 
        c->set_scale (VideoContentScale (Ratio::from_id ("185")));
-       
+
        film->set_video_frame_rate (48);
        film->make_dcp ();
        wait_for_jobs ();
 
+       /* Should be 32 frames of red */
        check_dcp ("test/data/repeat_frame_test", film->dir (film->dcp_name ()));
 }