X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fsubtitle_timing_test.cc;h=68881aea89b81df332e4e11b1c6e120245f4f1e1;hb=b1e22dff981fb86ae04b12bb5a064e61030793a8;hp=e8d4b07fe51e01c4b54f9e02df2f38957113ecf7;hpb=736d6bf3242a0ba3841cb765e97cf9fee3540460;p=dcpomatic.git diff --git a/test/subtitle_timing_test.cc b/test/subtitle_timing_test.cc index e8d4b07fe..68881aea8 100644 --- a/test/subtitle_timing_test.cc +++ b/test/subtitle_timing_test.cc @@ -40,8 +40,8 @@ BOOST_AUTO_TEST_CASE (test_subtitle_timing_with_frame_rate_change) constexpr auto content_frame_rate = 29.976f; const std::string name = "test_subtitle_timing_with_frame_rate_change"; - auto picture = content_factory("test/data/flat_red.png").front(); - auto sub = content_factory("test/data/hour.srt").front(); + auto picture = content_factory("test/data/flat_red.png")[0]; + auto sub = content_factory("test/data/hour.srt")[0]; sub->text.front()->set_language(dcp::LanguageTag("en-GB")); picture->set_video_frame_rate (content_frame_rate);