summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-09-13 23:36:03 +0200
committerCarl Hetherington <cth@carlh.net>2025-09-13 23:54:50 +0200
commit11a3284c65b94960ef1e2ad819ccc22e97aa9454 (patch)
treed33d9bb2cfb138febcbd2e4abdb7baeb8c0914ad /src
parent973bbf55801abb6d6f1f125770324e0489e07dd9 (diff)
Fix incorrect verify errors with multi-CPL DCPs.v1.10.27
We didn't reset the variables used to check for mismatched channel counts or subtitle languages.
Diffstat (limited to 'src')
-rw-r--r--src/verify.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 68eb5e44..4a767de1 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -1881,6 +1881,8 @@ dcp::verify (
context.cpl = cpl;
verify_cpl(context, cpl);
context.cpl.reset();
+ context.audio_channels.reset();
+ context.subtitle_language.reset();
} catch (ReadError& e) {
notes.push_back({VerificationNote::Type::ERROR, VerificationNote::Code::FAILED_READ, string(e.what())});
}