summaryrefslogtreecommitdiff
path: root/test/time_calculation_test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2024-09-29 22:56:55 +0200
committerCarl Hetherington <cth@carlh.net>2024-10-05 23:22:30 +0200
commit4ba1475736d36fe3b6b3e9ce653cde561695e7e6 (patch)
treefa58363210774d4d4fbf2f1fbfde2ae07c732bc5 /test/time_calculation_test.cc
parent7da1ba1be59c48af133b2fec83dc272ef21ba2db (diff)
Rename XML tags Fade{In,Out} to VideoFade{In,Out}.
Diffstat (limited to 'test/time_calculation_test.cc')
-rw-r--r--test/time_calculation_test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/time_calculation_test.cc b/test/time_calculation_test.cc
index 28a1c61ab..6c2b92a39 100644
--- a/test/time_calculation_test.cc
+++ b/test/time_calculation_test.cc
@@ -138,7 +138,7 @@ BOOST_AUTO_TEST_CASE (ffmpeg_time_calculation_test)
doc->read_string (xml);
list<string> notes;
- auto content = std::make_shared<FFmpegContent>(doc, boost::none, film->state_version(), notes);
+ auto content = std::make_shared<FFmpegContent>(doc, boost::none, 38, notes);
/* 25fps content, 25fps DCP */
film->set_video_frame_rate (25);
@@ -192,7 +192,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test1)
doc->read_string (xml);
list<string> notes;
- auto content = std::make_shared<FFmpegContent>(doc, boost::none, film->state_version(), notes);
+ auto content = std::make_shared<FFmpegContent>(doc, boost::none, 38, notes);
film->set_sequence (false);
film->add_content (content);
@@ -398,7 +398,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test2)
doc->read_string (xml);
list<string> notes;
- auto content = std::make_shared<FFmpegContent>(doc, boost::none, film->state_version(), notes);
+ auto content = std::make_shared<FFmpegContent>(doc, boost::none, 38, notes);
film->set_sequence (false);
film->add_content (content);
@@ -574,7 +574,7 @@ BOOST_AUTO_TEST_CASE (player_time_calculation_test3)
doc->read_string (xml);
list<string> notes;
- auto content = std::make_shared<FFmpegContent>(doc, boost::none, film->state_version(), notes);
+ 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);