X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=test%2Fskip_frame_test.cc;h=3e4f895c55a013e61ad5be8ad59591ac915615c9;hb=c008066160d85b9ec9e5485375d7baaa5d27bda2;hp=a77d8459bb317252ae1bba9295c8824f6d87e298;hpb=cf8bbea2de38c4e9ac140f55b27311b7b6dcd814;p=dcpomatic.git diff --git a/test/skip_frame_test.cc b/test/skip_frame_test.cc index a77d8459b..3e4f895c5 100644 --- a/test/skip_frame_test.cc +++ b/test/skip_frame_test.cc @@ -40,10 +40,11 @@ BOOST_AUTO_TEST_CASE (skip_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/count300bd48.m2ts")); - c->set_scale (VideoContentScale (Ratio::from_id ("185"))); - film->examine_and_add_content (c); + film->examine_and_add_content (c, true); wait_for_jobs (); + + c->set_scale (VideoContentScale (Ratio::from_id ("185"))); film->write_metadata (); film->set_video_frame_rate (24);