diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-03-24 00:41:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-03-24 00:41:32 +0100 |
| commit | bc6ef3ae7644c256e2339366e5aa14c4fa4bbee4 (patch) | |
| tree | 2bf418ab859d9c11b433f55549c26cbae3b3631e /test/test.cc | |
| parent | 066e30f30f851396bd6f10d50a448507e1c0b392 (diff) | |
Remove <EntryPoint> and <Duration> from <ReelMarkerAsset> tags.
They should not be there:
"EntryPoint" ... "This element shall only be present when the
Asset refers to an external resource such as a Track File".
Fixes DoM bug #2215.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/test.cc b/test/test.cc index a6472540..1b0b9b10 100644 --- a/test/test.cc +++ b/test/test.cc @@ -371,7 +371,7 @@ make_simple (boost::filesystem::path path, int reels, int frames, dcp::Standard shared_ptr<dcp::ReelSoundAsset>(new dcp::ReelSoundAsset(ms, 0)) ); - auto markers = make_shared<dcp::ReelMarkersAsset>(dcp::Fraction(24, 1), frames, 0); + auto markers = make_shared<dcp::ReelMarkersAsset>(dcp::Fraction(24, 1), frames); if (i == 0) { markers->set (dcp::Marker::FFOC, dcp::Time(0, 0, 0, 1, 24)); } @@ -419,7 +419,7 @@ simple_subtitle () shared_ptr<dcp::ReelMarkersAsset> simple_markers (int frames) { - auto markers = make_shared<dcp::ReelMarkersAsset>(dcp::Fraction(24, 1), frames, 0); + auto markers = make_shared<dcp::ReelMarkersAsset>(dcp::Fraction(24, 1), frames); markers->set (dcp::Marker::FFOC, dcp::Time(1, 24, 24)); markers->set (dcp::Marker::LFOC, dcp::Time(frames - 1, 24, 24)); return markers; |
