X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Frepeat_frame_test.cc;h=2e325af25a102f12aead78ba9c9570c14b7ad611;hb=e60bb3e51bd1508b149e6b8f6608f09b5196ae26;hp=4f66420ea4bedbeafd58439ca5d5f5d5987d453c;hpb=74fe68e5895654e27a7cf8097917c1e95fa89519;p=dcpomatic.git diff --git a/test/repeat_frame_test.cc b/test/repeat_frame_test.cc index 4f66420ea..2e325af25 100644 --- a/test/repeat_frame_test.cc +++ b/test/repeat_frame_test.cc @@ -40,15 +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 c (new FFmpegContent (film, "test/data/red_24.mp4")); - c->set_scale (VideoContentScale (Ratio::from_id ("185"))); 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 ())); }