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/ffmpeg_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/ffmpeg_content.h')
| -rw-r--r-- | src/lib/ffmpeg_content.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/lib/ffmpeg_content.h b/src/lib/ffmpeg_content.h index ca2f56619..f08a23001 100644 --- a/src/lib/ffmpeg_content.h +++ b/src/lib/ffmpeg_content.h @@ -43,11 +43,11 @@ struct audio_sampling_rate_test; class FFmpegContentProperty { public: - static int const SUBTITLE_STREAMS; + static int constexpr SUBTITLE_STREAMS = 100; /** The chosen subtitle stream, or something about it */ - static int const SUBTITLE_STREAM; - static int const FILTERS; - static int const KDM; + static int constexpr SUBTITLE_STREAM = 101; + static int constexpr FILTERS = 102; + static int constexpr KDM = 103; }; |
