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/video_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/video_content.h')
| -rw-r--r-- | src/lib/video_content.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/video_content.h b/src/lib/video_content.h index db46f06eb..23936b768 100644 --- a/src/lib/video_content.h +++ b/src/lib/video_content.h @@ -45,17 +45,17 @@ class Content; class VideoContentProperty { public: - static int const USE; - static int const SIZE; - static int const FRAME_TYPE; - static int const CROP; - static int const COLOUR_CONVERSION; - static int const FADE_IN; - static int const FADE_OUT; - static int const RANGE; - static int const CUSTOM_RATIO; - static int const CUSTOM_SIZE; - static int const BURNT_SUBTITLE_LANGUAGE; + static int constexpr USE = 0; + static int constexpr SIZE = 1; + static int constexpr FRAME_TYPE = 2; + static int constexpr CROP = 3; + static int constexpr COLOUR_CONVERSION = 4; + static int constexpr FADE_IN = 5; + static int constexpr FADE_OUT = 6; + static int constexpr RANGE = 7; + static int constexpr CUSTOM_RATIO = 8; + static int constexpr CUSTOM_SIZE = 9; + static int constexpr BURNT_SUBTITLE_LANGUAGE = 10; }; |
