diff options
| author | Carl Hetherington <cth@carlh.net> | 2025-05-11 20:43:58 +0200 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2025-05-11 21:03:32 +0200 |
| commit | a98f6e4f84d02b87ba05cecfcc3005858f274afa (patch) | |
| tree | 5b244f709c400cf2fff25f7af7b4f9c158bc8f2c /src/lib/dcp_content.h | |
| parent | 6157596fabb32c0f915525e4d05130652c1cd751 (diff) | |
Cleanup: use constexpr for content and player properties.
Also fix a clash between the ATMOS and player properties.
Diffstat (limited to 'src/lib/dcp_content.h')
| -rw-r--r-- | src/lib/dcp_content.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/lib/dcp_content.h b/src/lib/dcp_content.h index d4527febd..3b843f22e 100644 --- a/src/lib/dcp_content.h +++ b/src/lib/dcp_content.h @@ -43,14 +43,14 @@ class DCPContentProperty { public: - static int const NEEDS_KDM; - static int const NEEDS_ASSETS; - static int const REFERENCE_VIDEO; - static int const REFERENCE_AUDIO; - static int const REFERENCE_TEXT; - static int const NAME; - static int const TEXTS; - static int const CPL; + static int constexpr NEEDS_KDM = 600; + static int constexpr NEEDS_ASSETS = 601; + static int constexpr REFERENCE_VIDEO = 602; + static int constexpr REFERENCE_AUDIO = 603; + static int constexpr REFERENCE_TEXT = 604; + static int constexpr NAME = 605; + static int constexpr TEXTS = 606; + static int constexpr CPL = 607; }; |
