summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/dcp.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/dcp.cc b/src/dcp.cc
index 23b4ad48..27e696ed 100644
--- a/src/dcp.cc
+++ b/src/dcp.cc
@@ -666,10 +666,7 @@ DCP::cpl_summaries() const
continue;
}
- if (
- pkl_type == remove_parameters(CPL::static_pkl_type(Standard::INTEROP)) ||
- pkl_type == remove_parameters(CPL::static_pkl_type(Standard::SMPTE))) {
-
+ if (remove_parameters(*pkl_type) == "text/xml") {
auto parser = new xmlpp::DomParser;
dcp::ScopeGuard sg = [parser]() { delete parser; };