summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-09-29 16:11:05 -0400
committerCarl Hetherington <cth@carlh.net>2015-09-29 16:11:05 -0400
commit7b3e6b43e25e11a2e75352ca4a2e7f963cbcc634 (patch)
tree8381bad0f8c1bec4ab2332ef64932c270298ca42
parentbbd1408d35a68aa04a805682d17563989e8a3e1a (diff)
Hack to not complain about multiple PKLs.
-rw-r--r--src/dcp.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index a182498d..efbb7347 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -260,10 +260,9 @@ DCP::read_assets ()
if (root == "CompositionPlaylist") {
_files.cpls.push_back (t.string());
} else if (root == "PackingList") {
+ /* This is a hack; ignore second and subsequent PKLs */
if (_files.pkl.empty ()) {
_files.pkl = t.string();
- } else {
- boost::throw_exception (DCPReadError ("duplicate PKLs found"));
}
}
}