diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-21 01:57:06 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-21 01:57:06 +0100 |
| commit | 76e3325a16cdf6d7220a61e2b5cfdb9c804cc32c (patch) | |
| tree | 8c1b5e5dc2cec265469a0d8018b6d7396b089432 /src/reel_picture_asset.cc | |
| parent | 6c3db78c3d20ef064fa2a0ef38e65ca1ae69adb3 (diff) | |
Use enum class for the things in types.h
Diffstat (limited to 'src/reel_picture_asset.cc')
| -rw-r--r-- | src/reel_picture_asset.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/reel_picture_asset.cc b/src/reel_picture_asset.cc index 6e6cd035..2b3c3db0 100644 --- a/src/reel_picture_asset.cc +++ b/src/reel_picture_asset.cc @@ -85,7 +85,7 @@ ReelPictureAsset::write_to_cpl (xmlpp::Node* node, Standard standard) const xmlpp::Node* asset = write_to_cpl_asset (node, standard, hash()); asset->add_child("FrameRate")->add_child_text(String::compose("%1 %2", _frame_rate.numerator, _frame_rate.denominator)); - if (standard == INTEROP) { + if (standard == Standard::INTEROP) { /* Allowed values for this tag from the standard */ float allowed[] = { 1.33, 1.66, 1.77, 1.85, 2.00, 2.39 }; @@ -139,12 +139,12 @@ ReelPictureAsset::equals (shared_ptr<const ReelPictureAsset> other, EqualityOpti } if (_frame_rate != rpa->_frame_rate) { - note (DCP_ERROR, "frame rates differ in reel"); + note (NoteType::ERROR, "frame rates differ in reel"); return false; } if (_screen_aspect_ratio != rpa->_screen_aspect_ratio) { - note (DCP_ERROR, "screen aspect ratios differ in reel"); + note (NoteType::ERROR, "screen aspect ratios differ in reel"); return false; } |
