summaryrefslogtreecommitdiff
path: root/test/test.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-04-09 23:49:42 +0200
committerCarl Hetherington <cth@carlh.net>2021-04-09 23:49:42 +0200
commitc59e6c0e64f95afc7c33168e7c7562502411bd01 (patch)
tree044a8ebb292801f5b44b6589017e98fbae6054ce /test/test.cc
parent4bf244a0823e7ae59071f1566495b4210166d4a5 (diff)
Add check for Bv2.1 10.4.3 - container duration vs reel duration in timed text.
Diffstat (limited to 'test/test.cc')
-rw-r--r--test/test.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test.cc b/test/test.cc
index 79706bf8..069d02ec 100644
--- a/test/test.cc
+++ b/test/test.cc
@@ -431,7 +431,7 @@ make_simple_with_interop_subs (boost::filesystem::path path)
shared_ptr<dcp::DCP>
make_simple_with_smpte_subs (boost::filesystem::path path)
{
- shared_ptr<dcp::DCP> dcp = make_simple (path, 1, 240);
+ shared_ptr<dcp::DCP> dcp = make_simple (path, 1, 192);
shared_ptr<dcp::SMPTESubtitleAsset> subs(new dcp::SMPTESubtitleAsset());
subs->set_language (dcp::LanguageTag("de-DE"));
@@ -440,7 +440,7 @@ make_simple_with_smpte_subs (boost::filesystem::path path)
subs->write (path / "subs.mxf");
- shared_ptr<dcp::ReelSubtitleAsset> reel_subs(new dcp::ReelSubtitleAsset(subs, dcp::Fraction(24, 1), 240, 0));
+ shared_ptr<dcp::ReelSubtitleAsset> reel_subs(new dcp::ReelSubtitleAsset(subs, dcp::Fraction(24, 1), 192, 0));
dcp->cpls().front()->reels().front()->add (reel_subs);
return dcp;
@@ -466,7 +466,7 @@ make_simple_with_interop_ccaps (boost::filesystem::path path)
shared_ptr<dcp::DCP>
make_simple_with_smpte_ccaps (boost::filesystem::path path)
{
- shared_ptr<dcp::DCP> dcp = make_simple (path, 1, 240);
+ shared_ptr<dcp::DCP> dcp = make_simple (path, 1, 192);
shared_ptr<dcp::SMPTESubtitleAsset> subs(new dcp::SMPTESubtitleAsset());
subs->set_language (dcp::LanguageTag("de-DE"));
@@ -474,7 +474,7 @@ make_simple_with_smpte_ccaps (boost::filesystem::path path)
subs->add (simple_subtitle());
subs->write (path / "ccap.mxf");
- shared_ptr<dcp::ReelClosedCaptionAsset> reel_caps(new dcp::ReelClosedCaptionAsset(subs, dcp::Fraction(24, 1), 240, 0));
+ shared_ptr<dcp::ReelClosedCaptionAsset> reel_caps(new dcp::ReelClosedCaptionAsset(subs, dcp::Fraction(24, 1), 192, 0));
dcp->cpls().front()->reels().front()->add (reel_caps);
return dcp;