diff options
| author | Carl Hetherington <cth@carlh.net> | 2023-11-14 22:01:07 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-04-22 01:42:00 +0200 |
| commit | 066471f69400fc72e9c126ab36f5427329f30220 (patch) | |
| tree | dd15f6b6aa7a74b5cca2ce5f300723b1b72d2f11 /test/dcp_test.cc | |
| parent | 0fbfe3d2dd5de9eab299f2ff569bff29cc6f8e19 (diff) | |
Support MPEG2 decompression.
Diffstat (limited to 'test/dcp_test.cc')
| -rw-r--r-- | test/dcp_test.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/dcp_test.cc b/test/dcp_test.cc index 4647d8ae..63de990f 100644 --- a/test/dcp_test.cc +++ b/test/dcp_test.cc @@ -203,9 +203,9 @@ test_rewriting_sound(string name, bool modify) dcp::DCP B ("build/test/" + name); auto reel = make_shared<dcp::Reel>(); - BOOST_REQUIRE (A_picture->mono_asset()); - BOOST_REQUIRE (A_picture->mono_asset()->file()); - copy_file (A_picture->mono_asset()->file().get(), path("build") / "test" / name / picture); + BOOST_REQUIRE(A_picture->mono_j2k_asset()); + BOOST_REQUIRE(A_picture->mono_j2k_asset()->file()); + copy_file(A_picture->mono_j2k_asset()->file().get(), path("build") / "test" / name / picture); reel->add(make_shared<dcp::ReelMonoPictureAsset>(make_shared<dcp::MonoJ2KPictureAsset>(path("build") / "test" / name / picture), 0)); auto reader = A_sound->asset()->start_read(); |
