summaryrefslogtreecommitdiff
path: root/src/lib/content.h
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-05-11 20:43:58 +0200
committerCarl Hetherington <cth@carlh.net>2025-05-11 21:03:32 +0200
commita98f6e4f84d02b87ba05cecfcc3005858f274afa (patch)
tree5b244f709c400cf2fff25f7af7b4f9c158bc8f2c /src/lib/content.h
parent6157596fabb32c0f915525e4d05130652c1cd751 (diff)
Cleanup: use constexpr for content and player properties.
Also fix a clash between the ATMOS and player properties.
Diffstat (limited to 'src/lib/content.h')
-rw-r--r--src/lib/content.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/content.h b/src/lib/content.h
index 8ddb7d7e7..7d7700999 100644
--- a/src/lib/content.h
+++ b/src/lib/content.h
@@ -58,12 +58,12 @@ class VideoContent;
class ContentProperty
{
public:
- static int const PATH;
- static int const POSITION;
- static int const LENGTH;
- static int const TRIM_START;
- static int const TRIM_END;
- static int const VIDEO_FRAME_RATE;
+ static int constexpr PATH = 400;
+ static int constexpr POSITION = 401;
+ static int constexpr LENGTH = 402;
+ static int constexpr TRIM_START = 403;
+ static int constexpr TRIM_END = 404;
+ static int constexpr VIDEO_FRAME_RATE = 405;
};