diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-04-11 20:49:44 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-04-12 01:22:10 +0200 |
| commit | 7d66bda50ade8ea618f331b885f1bfa4fa0a2af9 (patch) | |
| tree | 9846716f11327850e9a6bdd2cb00243be828590f /test/write_subtitle_test.cc | |
| parent | 3370a67e8a9aeaec45911ba1c714a0d259781fdf (diff) | |
Split ReelSubtitleAsset into Interop and SMPTE classes.
Diffstat (limited to 'test/write_subtitle_test.cc')
| -rw-r--r-- | test/write_subtitle_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/write_subtitle_test.cc b/test/write_subtitle_test.cc index 10d39f11..f7c9ae25 100644 --- a/test/write_subtitle_test.cc +++ b/test/write_subtitle_test.cc @@ -36,7 +36,7 @@ #include "subtitle_string.h" #include "subtitle_image.h" #include "subtitle_asset_internal.h" -#include "reel_subtitle_asset.h" +#include "reel_interop_subtitle_asset.h" #include "reel.h" #include "cpl.h" #include "dcp.h" @@ -360,8 +360,8 @@ BOOST_AUTO_TEST_CASE (write_interop_subtitle_test3) boost::filesystem::create_directories ("build/test/write_interop_subtitle_test3"); c->write ("build/test/write_interop_subtitle_test3/subs.xml"); - shared_ptr<dcp::Reel> reel (new dcp::Reel()); - reel->add(shared_ptr<dcp::ReelSubtitleAsset>(new dcp::ReelSubtitleAsset(c, dcp::Fraction(24, 1), 6046, 0))); + auto reel = make_shared<dcp::Reel>(); + reel->add(make_shared<dcp::ReelInteropSubtitleAsset>(c, dcp::Fraction(24, 1), 6046, 0)); string const issue_date = "2018-09-02T04:45:18+00:00"; string const issuer = "libdcp"; |
