diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-09-25 09:41:32 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-09-25 09:41:32 +0100 |
| commit | 6ff5bc54fafcb9332609912514c287ac332ab7e5 (patch) | |
| tree | f1458b2735af96eaa4352601762337c2e1812ef4 /test | |
| parent | df56c3975454d935b8457d8a8bc1615388db305c (diff) | |
Cope with multiple PKLs in a DCP.
Diffstat (limited to 'test')
| -rw-r--r-- | test/dcp_test.cc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/dcp_test.cc b/test/dcp_test.cc index 7723a389..2e1344c5 100644 --- a/test/dcp_test.cc +++ b/test/dcp_test.cc @@ -318,3 +318,12 @@ BOOST_AUTO_TEST_CASE (dcp_test7) make_simple("build/test/DCP/dcp_test7")->write_xml (dcp::INTEROP, xml_meta); /* build/test/DCP/dcp_test7 is checked against test/ref/DCP/dcp_test7 by run/tests */ } + +/** Test reading of a DCP with multiple PKLs */ +BOOST_AUTO_TEST_CASE (dcp_test8) +{ + dcp::DCP dcp (private_test / "data/SMPTE_TST-B1PB2P_S_EN-EN-CCAP_5171-HI-VI_2K_ISDCF_20151123_DPPT_SMPTE_combo/"); + dcp.read (); + + BOOST_REQUIRE_EQUAL (dcp.cpls().size(), 2); +} |
