diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-29 16:11:05 -0400 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-29 16:11:05 -0400 |
| commit | 7b3e6b43e25e11a2e75352ca4a2e7f963cbcc634 (patch) | |
| tree | 8381bad0f8c1bec4ab2332ef64932c270298ca42 | |
| parent | bbd1408d35a68aa04a805682d17563989e8a3e1a (diff) | |
Hack to not complain about multiple PKLs.
| -rw-r--r-- | src/dcp.cc | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -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")); } } } |
