diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-07-09 20:41:10 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-07-11 12:22:11 +0200 |
| commit | b1e22dff981fb86ae04b12bb5a064e61030793a8 (patch) | |
| tree | ffb112f6e3f3311d8669f6a89628bf5f0bc40f2e /test/subtitle_timing_test.cc | |
| parent | 736d6bf3242a0ba3841cb765e97cf9fee3540460 (diff) | |
Use a vector rather than a list when returning from content_factory().
Diffstat (limited to 'test/subtitle_timing_test.cc')
| -rw-r--r-- | test/subtitle_timing_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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); |
