diff options
| author | Carl Hetherington <cth@carlh.net> | 2020-10-30 00:50:57 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-11-02 00:12:56 +0100 |
| commit | da15bff6e278d351301c9c50a4c96737ae4b5545 (patch) | |
| tree | 86057f3d8cbca41130fe170791ef341e18bc6283 /test/test.cc | |
| parent | ec82ce2d44d5ba492a3dfa6e740ff21549d438e1 (diff) | |
Rename Data -> ArrayData.
Diffstat (limited to 'test/test.cc')
| -rw-r--r-- | test/test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.cc b/test/test.cc index 25d7726d..245dd91c 100644 --- a/test/test.cc +++ b/test/test.cc @@ -344,7 +344,7 @@ make_simple_with_interop_subs (boost::filesystem::path path) subs->add (simple_subtitle()); boost::filesystem::create_directory (path / "subs"); - dcp::Data data(4096); + dcp::ArrayData data(4096); data.write (path / "subs" / "font.ttf"); subs->add_font ("afont", path / "subs" / "font.ttf"); subs->write (path / "subs" / "subs.xml"); @@ -364,7 +364,7 @@ make_simple_with_smpte_subs (boost::filesystem::path path) shared_ptr<dcp::SMPTESubtitleAsset> subs(new dcp::SMPTESubtitleAsset()); subs->add (simple_subtitle()); - dcp::Data data(4096); + dcp::ArrayData data(4096); subs->write (path / "subs.mxf"); shared_ptr<dcp::ReelSubtitleAsset> reel_subs(new dcp::ReelSubtitleAsset(subs, dcp::Fraction(24, 1), 240, 0)); @@ -422,7 +422,7 @@ shared_ptr<dcp::ReelAsset> black_picture_asset (boost::filesystem::path dir, int frames) { shared_ptr<dcp::OpenJPEGImage> image = black_image (); - dcp::Data frame = dcp::compress_j2k (image, 100000000, 24, false, false); + dcp::ArrayData frame = dcp::compress_j2k (image, 100000000, 24, false, false); BOOST_REQUIRE (frame.size() < 230000000 / (24 * 8)); shared_ptr<dcp::MonoPictureAsset> asset(new dcp::MonoPictureAsset(dcp::Fraction(24, 1), dcp::SMPTE)); |
