summaryrefslogtreecommitdiff
path: root/src/verify.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-12-12 20:52:29 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-17 20:13:22 +0100
commit23e8b88797af2e6344f769cac05018da479e2da5 (patch)
tree4bd85a554976e99c884c7538bf5c659a6c3f7e56 /src/verify.cc
parentab9d9fe2f33bf5fadb0132120111e0e73c86ca09 (diff)
Rename some notes to clarify places where size refers to bytes, not pixels.
Diffstat (limited to 'src/verify.cc')
-rw-r--r--src/verify.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/verify.cc b/src/verify.cc
index 363264db..d78e6462 100644
--- a/src/verify.cc
+++ b/src/verify.cc
@@ -507,14 +507,14 @@ verify_main_picture_asset (
case VERIFY_PICTURE_ASSET_RESULT_BAD:
notes.push_back (
VerificationNote(
- VerificationNote::VERIFY_ERROR, VerificationNote::PICTURE_FRAME_TOO_LARGE, file
+ VerificationNote::VERIFY_ERROR, VerificationNote::PICTURE_FRAME_TOO_LARGE_IN_BYTES, file
)
);
break;
case VERIFY_PICTURE_ASSET_RESULT_FRAME_NEARLY_TOO_LARGE:
notes.push_back (
VerificationNote(
- VerificationNote::VERIFY_WARNING, VerificationNote::PICTURE_FRAME_NEARLY_TOO_LARGE, file
+ VerificationNote::VERIFY_WARNING, VerificationNote::PICTURE_FRAME_NEARLY_TOO_LARGE_IN_BYTES, file
)
);
break;
@@ -758,9 +758,9 @@ dcp::note_to_string (dcp::VerificationNote note)
return String::compose("The intrinsic duration of an asset is less than 1 second long: %1", note.note().get());
case dcp::VerificationNote::DURATION_TOO_SMALL:
return String::compose("The duration of an asset is less than 1 second long: %1", note.note().get());
- case dcp::VerificationNote::PICTURE_FRAME_TOO_LARGE:
+ case dcp::VerificationNote::PICTURE_FRAME_TOO_LARGE_IN_BYTES:
return String::compose("The instantaneous bit rate of the picture asset %1 is larger than the limit of 250Mbit/s in at least one place.", note.file()->filename());
- case dcp::VerificationNote::PICTURE_FRAME_NEARLY_TOO_LARGE:
+ case dcp::VerificationNote::PICTURE_FRAME_NEARLY_TOO_LARGE_IN_BYTES:
return String::compose("The instantaneous bit rate of the picture asset %1 is close to the limit of 250Mbit/s in at least one place.", note.file()->filename());
case dcp::VerificationNote::EXTERNAL_ASSET:
return String::compose("An asset that this DCP refers to is not included in the DCP. It may be a VF. Missing asset is %1.", note.note().get());