diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-07-15 02:47:35 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-07-15 18:03:57 +0200 |
| commit | 0cfe03ee13d7659901211345e30ed78fe55e21ea (patch) | |
| tree | 213890d76954c3a51fecb731d35eccbf8906ba07 /test | |
| parent | de77e42f106342e1668e8948e28d6974ef44b61c (diff) | |
Change Film::add_content to take a vector of content.
Diffstat (limited to 'test')
| -rw-r--r-- | test/time_calculation_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc index 7d23b80e0..abac4a6bd 100644 --- a/test/time_calculation_test.cc +++ b/test/time_calculation_test.cc @@ -194,7 +194,7 @@ BOOST_AUTO_TEST_CASE(player_time_calculation_test1) list<string> notes; auto content = std::make_shared<FFmpegContent>(doc, boost::none, 38, notes); film->set_sequence(false); - film->add_content(content); + film->add_content({content}); auto player = make_shared<Player>(film, Image::Alignment::COMPACT, false); @@ -400,7 +400,7 @@ BOOST_AUTO_TEST_CASE(player_time_calculation_test2) list<string> notes; auto content = std::make_shared<FFmpegContent>(doc, boost::none, 38, notes); film->set_sequence(false); - film->add_content(content); + film->add_content({content}); auto player = make_shared<Player>(film, Image::Alignment::COMPACT, false); @@ -577,7 +577,7 @@ BOOST_AUTO_TEST_CASE(player_time_calculation_test3) auto content = std::make_shared<FFmpegContent>(doc, boost::none, 38, notes); auto stream = content->audio->streams().front(); film->set_sequence(false); - film->add_content(content); + film->add_content({content}); auto player = make_shared<Player>(film, Image::Alignment::COMPACT, false); |
