summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2026-08-15 21:15:07 +0200
committerCarl Hetherington <cth@carlh.net>2026-08-15 21:24:43 +0200
commitc9669424b2e1b97d031c65947bcb32a900684e78 (patch)
treedc93a86a3f58d78bad0b50d9ad7d40002fa78de3 /src
parent0b9a03150ea37772438a9d39cb2b9d1cdf2d91cd (diff)
Fix failure of cpl_summaries() to find Interop CPLs (DoM #3173).HEADv1.10.61main
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; };