summaryrefslogtreecommitdiff
path: root/test/dcp_test.cc
AgeCommit message (Collapse)Author
2022-04-25Tidy up write_xml() API a little.Carl Hetherington
2022-04-22C++11 tidying.Carl Hetherington
2022-04-22Fix some macOS signed/unsigned warnings.Carl Hetherington
2022-04-20Add a test for DCP::add() for KDMs.Carl Hetherington
2021-04-12C++11 tidying.Carl Hetherington
2021-04-12Specify CPL standard on construction.Carl Hetherington
Then choose which standard DCP should use based on the CPL(s).
2021-03-26Write MCA tags based on the specified sound field.Carl Hetherington
I had previously assumed that one should write MCA information into the sound MXF based on what channels actually contain sound rather than silence. However a previous example of a stereo DCP gives a verification error in EasyDCP (see DoM bug #1935) which is solved by adding MCA tags for each channel in the specified sound field (e.g. at least 6 tags for a file which is marked as 5.1) even if the audio is really stereo. This commit removes the "active channels" stuff and makes sure that if we say a file is 5.1 we write at least 6 MCA tags (and similarly for 7.1).
2021-01-21Use enum class for the things in types.hCarl Hetherington
2021-01-18Bv2.1 9.1: PKL annotation text must match CPL ContentTitleText if there is ↵Carl Hetherington
only one CPL in the PKL.
2021-01-18Bv2.1 8.5: FFOC and LFOC should be present and have particular values.Carl Hetherington
2021-01-17Use feature not trailer for some tests to avoid verification errors about ↵Carl Hetherington
FFEC/FFMC.
2021-01-17Replace dcp::File with dcp::ArrayData.Carl Hetherington
2021-01-17Remove 32x32 test image.Carl Hetherington
2021-01-08std::shared_ptrCarl Hetherington
2020-11-29Fix terrible SoundAsset::equals() implementation.Carl Hetherington
It would check individual bytes of samples to see if they differed by more than the threshold. Not only is this almost useless, but the default threshold is 256 so with the default settings it would always say that two assets of the same length (and channels, etc.) were the same, even if the sample data was different.
2020-10-23macOS / new boost build fixes.Carl Hetherington
2020-10-10Fix crash when loading DCPs whose ASSETMAP contains files that areCarl Hetherington
not mentioned in any PKL (#1855).
2020-09-21Support MCA sound channel tags in MXF/CPL.Carl Hetherington
2020-09-21Add ContentVersion class.Carl Hetherington
2020-09-20Remove XMLMetadata use from tests.Carl Hetherington
2020-09-20Remove XMLMetadata from DCP::write_xml and DCP::write_assetmap.Carl Hetherington
2020-09-20Stop using XMLMetadata in CPL. It's always felt a bit clumsy, andCarl Hetherington
with the CPL metadata extension having a method like set_metadata() in CPL will be confusing.
2020-09-09Move make_simple() into test.{cc,h}Carl Hetherington
2020-09-09Fix comment typo.Carl Hetherington
2020-07-11Hopefully make all tests stable enough to be run with --random,Carl Hetherington
stopping test reference churn.
2019-12-22Fix syntax of ContentVersion/Id in the reference.Carl Hetherington
2019-03-17Merge branch 'master' of ssh://git.carlh.net/home/carl/git/libdcpCarl Hetherington
2019-03-17Finish initial CPL markers support.Carl Hetherington
2019-03-16Fix some GPL boilerplate.Carl Hetherington
2018-09-25Cope with multiple PKLs in a DCP.Carl Hetherington
2018-03-13Store interop/SMPTE in MXF.Carl Hetherington
2017-06-23Fix some test failures caused by changes to handling of metadata.Carl Hetherington
2017-05-17Test an Interop DCP (dcp_test7) with associated churn in the following test.Carl Hetherington
2017-02-14Fix test churn.Carl Hetherington
2016-09-13Various fixes to incorrect Atmos read/write wrt XML namespaces.Carl Hetherington
2016-09-09Simplify previous commit and remove some debugging.Carl Hetherington
2016-09-08Add channel assignment support for SMPTE DCPs.Carl Hetherington
2016-08-16Coding style.Carl Hetherington
2016-07-01asdcp headers moved into subdirectory.Carl Hetherington
2016-06-01Still more licence fixups.Carl Hetherington
2016-05-25Basic writing of DCPs containing Atmos MXFs; untested.Carl Hetherington
2016-01-14Use out-of-tree asdcplib-cthCarl Hetherington
2015-06-24No-op: whitespace.Carl Hetherington
2015-06-08Require only DCP::add() for the CPL; other assets found by looking in the CPL.Carl Hetherington
2015-06-05MXF -> Asset in lots of places.Carl Hetherington
2015-06-05Rename some stuff Content -> Asset.Carl Hetherington
2015-01-28Some OS X build fixes.Carl Hetherington
2014-12-28Add a basic stereo test.Carl Hetherington
2014-12-28Rename test DCP from foo to dcp_test1.Carl Hetherington
2014-12-28Add test; shuffle IDs.Carl Hetherington