From a98f6e4f84d02b87ba05cecfcc3005858f274afa Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 11 May 2025 20:43:58 +0200 Subject: Cleanup: use constexpr for content and player properties. Also fix a clash between the ATMOS and player properties. --- src/lib/ffmpeg_content.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/lib/ffmpeg_content.h') 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; }; -- cgit v1.2.3