diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-01-14 23:50:38 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-01-19 22:48:28 +0100 |
| commit | eb28997f188c905af40054e4139251ebf1756ae4 (patch) | |
| tree | 91214593633d2a391587e46e2f2375d2fc47ad3b /src/verify.h | |
| parent | d4024848dfe293b06440d20a9f48894b2b008316 (diff) | |
Make MainSoundConfiguration behave "correctly" with badly-formatted strings.
Add some documentation for a design "principle" when handling malformatted
data, and make MainSoundConfiguration adhere to that.
Diffstat (limited to 'src/verify.h')
| -rw-r--r-- | src/verify.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/verify.h b/src/verify.h index c333d86e..10a798d4 100644 --- a/src/verify.h +++ b/src/verify.h @@ -467,9 +467,10 @@ public: */ MISMATCHED_SOUND_CHANNEL_COUNTS, /** The CPL contains a _<MainSoundConfiguration>_ tag which does not describe the number of - * channels in the audio assets. + * channels in the audio assets, or which is in some way badly formatted. * note contains details of what is wrong * file contains the CPL filename + * cpl_id contains the CPL ID */ INVALID_MAIN_SOUND_CONFIGURATION, /** An interop subtitle file has a _<LoadFont>_ node which refers to a font file that is not found. @@ -520,7 +521,7 @@ public: * note contains the invalid namespace * file contains the PKL filename */ - INVALID_PKL_NAMESPACE + INVALID_PKL_NAMESPACE, }; VerificationNote (Type type, Code code) |
