diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-12 00:20:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-12 01:22:10 +0200 |
| commit | 2fa5b7bfeb3826c20f2fe80f272b556d61935063 (patch) | |
| tree | 20ff8625f91de07ee48411fed91caa941d5dd09e /test/test.cc | |
| parent | 2c5e61891e7975f4c2d33a5f2ed144645e3078f9 (diff) | |
Split ReelClosedCaptionAsset into Interop and SMPTE parts.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test.cc b/test/test.cc index 3bebff53..d46c657b 100644 --- a/test/test.cc +++ b/test/test.cc @@ -45,11 +45,12 @@ #include "picture_asset_writer.h" #include "reel.h" #include "reel_asset.h" -#include "reel_closed_caption_asset.h" +#include "reel_interop_closed_caption_asset.h" #include "reel_interop_subtitle_asset.h" #include "reel_markers_asset.h" #include "reel_mono_picture_asset.h" #include "reel_mono_picture_asset.h" +#include "reel_smpte_closed_caption_asset.h" #include "reel_smpte_subtitle_asset.h" #include "reel_sound_asset.h" #include "smpte_subtitle_asset.h" @@ -459,8 +460,8 @@ make_simple_with_interop_ccaps (boost::filesystem::path path) subs->add (simple_subtitle()); subs->write (path / "ccap.xml"); - auto reel_caps = make_shared<dcp::ReelClosedCaptionAsset>(subs, dcp::Fraction(24, 1), 240, 0); - dcp->cpls().front()->reels().front()->add (reel_caps); + auto reel_caps = make_shared<dcp::ReelInteropClosedCaptionAsset>(subs, dcp::Fraction(24, 1), 240, 0); + dcp->cpls()[0]->reels()[0]->add (reel_caps); return dcp; } @@ -477,7 +478,7 @@ make_simple_with_smpte_ccaps (boost::filesystem::path path) subs->add (simple_subtitle()); subs->write (path / "ccap.mxf"); - auto reel_caps = make_shared<dcp::ReelClosedCaptionAsset>(subs, dcp::Fraction(24, 1), 192, 0); + auto reel_caps = make_shared<dcp::ReelSMPTEClosedCaptionAsset>(subs, dcp::Fraction(24, 1), 192, 0); dcp->cpls()[0]->reels()[0]->add(reel_caps); return dcp; |
