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/player.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/player.h')
| -rw-r--r-- | src/lib/player.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/player.h b/src/lib/player.h index 8922741bd..9076ac242 100644 --- a/src/lib/player.h +++ b/src/lib/player.h @@ -59,17 +59,17 @@ class ReferencedReelAsset; class PlayerProperty { public: - static int const VIDEO_CONTAINER_SIZE; - static int const PLAYLIST; - static int const FILM_CONTAINER; - static int const FILM_VIDEO_FRAME_RATE; - static int const DCP_DECODE_REDUCTION; - static int const PLAYBACK_LENGTH; - static int const IGNORE_VIDEO; - static int const IGNORE_AUDIO; - static int const IGNORE_TEXT; - static int const ALWAYS_BURN_OPEN_SUBTITLES; - static int const PLAY_REFERENCED; + static int constexpr VIDEO_CONTAINER_SIZE = 800; + static int constexpr PLAYLIST = 801; + static int constexpr FILM_CONTAINER = 802; + static int constexpr FILM_VIDEO_FRAME_RATE = 803; + static int constexpr DCP_DECODE_REDUCTION = 804; + static int constexpr PLAYBACK_LENGTH = 805; + static int constexpr IGNORE_VIDEO = 806; + static int constexpr IGNORE_AUDIO = 808; + static int constexpr IGNORE_TEXT = 808; + static int constexpr ALWAYS_BURN_OPEN_SUBTITLES = 809; + static int constexpr PLAY_REFERENCED = 810; }; |
