diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-09-13 23:36:03 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-09-13 23:54:50 +0200 |
| commit | 11a3284c65b94960ef1e2ad819ccc22e97aa9454 (patch) | |
| tree | d33d9bb2cfb138febcbd2e4abdb7baeb8c0914ad /src/verify.cc | |
| parent | 973bbf55801abb6d6f1f125770324e0489e07dd9 (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/verify.cc')
| -rw-r--r-- | src/verify.cc | 2 |
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())}); } |
