From 8259e2771f85c33c531a83fe1a78668f158208da Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 2 Sep 2018 23:39:01 +0100 Subject: Hopefully-correct PKL and AssetMap when using Interop PNG subtitles. --- src/dcp.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/dcp.cc') diff --git a/src/dcp.cc b/src/dcp.cc index 58d05651..fa8ffabf 100644 --- a/src/dcp.cc +++ b/src/dcp.cc @@ -162,7 +162,6 @@ DCP::read (bool keep_going, ReadErrors* errors, bool ignore_incorrect_picture_mx break; } } - } if (!pkl_path) { @@ -261,6 +260,8 @@ DCP::read (bool keep_going, ReadErrors* errors, bool ignore_incorrect_picture_mx } } else if (pkl_type == FontAsset::static_pkl_type(*_standard)) { other_assets.push_back (shared_ptr (new FontAsset (i->first, path))); + } else if (pkl_type == "image/png") { + /* It's an Interop PNG subtitle; let it go */ } else { throw DCPReadError (String::compose("Unknown asset type %1 in PKL", pkl_type)); } -- cgit v1.2.3