Write OriginalFileName tags in PKL (DoM #2394).
authorCarl Hetherington <cth@carlh.net>
Thu, 22 Dec 2022 00:59:11 +0000 (01:59 +0100)
committerCarl Hetherington <cth@carlh.net>
Thu, 22 Dec 2022 22:43:03 +0000 (23:43 +0100)
commit4ddd146759e5346bd6c4b4444ee1424327f14a2a
treec927e85f5a2a040788b159f6591c3679b9bfab49
parentf657337815c5f21e2edd99fdaa501f0ff8acc6b1
Write OriginalFileName tags in PKL (DoM #2394).

Without these it EasyDCP gives errors like

"Id field in PKL must match uuid in asset"
"Each Id used in the PKL files must be unique or reference the same file"

which seem wrong but, as usual, here we are.
17 files changed:
src/asset.cc
src/interop_subtitle_asset.cc
src/pkl.cc
src/pkl.h
test/ref/DCP/dcp_test1/ASSETMAP.xml
test/ref/DCP/dcp_test1/pkl_d199d58b-5ef8-4d49-b270-07e590ccb280.xml
test/ref/DCP/dcp_test2/ASSETMAP.xml
test/ref/DCP/dcp_test2/pkl_d199d58b-5ef8-4d49-b270-07e590ccb280.xml
test/ref/DCP/dcp_test5/ASSETMAP.xml
test/ref/DCP/dcp_test5/pkl_017b3de4-6dda-408d-b19b-6711354b0bc3.xml
test/ref/DCP/dcp_test7/ASSETMAP
test/ref/DCP/dcp_test7/pkl_d199d58b-5ef8-4d49-b270-07e590ccb280.xml
test/ref/DCP/encryption_test/ASSETMAP.xml
test/ref/DCP/encryption_test/pkl_93887017-5d6a-4ee5-b5f4-161b06281d0e.xml
test/ref/write_interop_subtitle_test3/ASSETMAP
test/ref/write_interop_subtitle_test3/pkl_ac8d301c-e5d9-4343-b6f3-ba2668adbe56.xml
test/verify_test.cc