summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-02 20:55:40 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-04 20:48:34 +0200
commit0d9831021c7dc508bc69f7bd759dacd50ccb2766 (patch)
tree602bd4d88dfac90177cc187d12baebeb713f80e2 /test
parent8e1b0dfe3103867a749ff51156e3ed6547f298a0 (diff)
Use content version from Interop (or version number from SMPTE metadata)
rather than the content version in the ISDCF metadata dialogue.
Diffstat (limited to 'test')
-rw-r--r--test/isdcf_name_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/isdcf_name_test.cc b/test/isdcf_name_test.cc
index dbac64a34..3d7b69665 100644
--- a/test/isdcf_name_test.cc
+++ b/test/isdcf_name_test.cc
@@ -60,8 +60,8 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
BOOST_REQUIRE (!wait_for_jobs());
BOOST_REQUIRE (audio->audio);
audio->audio->set_language(dcp::LanguageTag("en-US"));
+ film->set_content_versions({"1"});
ISDCFMetadata m;
- m.content_version = 1;
m.territory = "UK";
m.rating = "PG";
m.studio = "ST";
@@ -88,8 +88,8 @@ BOOST_AUTO_TEST_CASE (isdcf_name_test)
text->text.front()->set_burn (true);
text->text.front()->set_language (dcp::LanguageTag("fr-FR"));
film->examine_and_add_content (text);
+ film->set_version_number(2);
BOOST_REQUIRE (!wait_for_jobs());
- m.content_version = 2;
audio = content_factory("test/data/sine_440.wav").front();
film->examine_and_add_content (audio);
BOOST_REQUIRE (!wait_for_jobs());