diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/verify.cc | 3 | ||||
| -rw-r--r-- | src/verify.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/src/verify.cc b/src/verify.cc index 85d09204..9756f9c7 100644 --- a/src/verify.cc +++ b/src/verify.cc @@ -619,6 +619,7 @@ verify_main_picture_asset(Context& context, shared_ptr<const ReelPictureAsset> r context.error(VerificationNote::Code::MISMATCHED_PICTURE_HASHES, file); break; default: + context.ok(VerificationNote::Code::CORRECT_PICTURE_HASH, file); break; } } @@ -1933,6 +1934,8 @@ dcp::note_to_string (VerificationNote note) return String::compose("The picture in a reel has an invalid frame rate %1.", note.note().get()); case VerificationNote::Code::INCORRECT_PICTURE_HASH: return String::compose("The hash (%1) of the picture asset %2 does not agree with the PKL file (%3).", note.calculated_hash().get(), note.file()->filename(), note.reference_hash().get()); + case VerificationNote::Code::CORRECT_PICTURE_HASH: + return String::compose("The picture asset %1 has the expected hashes in the CPL and PKL.", note.file()->filename()); case VerificationNote::Code::MISMATCHED_PICTURE_HASHES: return String::compose("The PKL and CPL hashes differ for the picture asset %1.", note.file()->filename()); case VerificationNote::Code::INCORRECT_SOUND_HASH: diff --git a/src/verify.h b/src/verify.h index eeda0b7a..339f4186 100644 --- a/src/verify.h +++ b/src/verify.h @@ -114,6 +114,7 @@ public: * note contains the invalid frame rate as "<numerator>/<denominator>" */ INVALID_PICTURE_FRAME_RATE, + CORRECT_PICTURE_HASH, /** The hash of a main picture asset does not agree with the PKL file * file contains the picture asset filename * calculated_hash contains the current hash of the picture MXF |
