diff options
| author | Carl Hetherington <cth@carlh.net> | 2021-01-27 01:44:20 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2021-01-27 01:44:20 +0100 |
| commit | 1d2a51bdc8315fa7283be329669860e435a1513f (patch) | |
| tree | 7f1ccaf99bd89f61377f36405f12178586d65f8f /src/lib/types.h | |
| parent | 886c256f532e0f43bcd7f6f9924147c151293cab (diff) | |
Use enum class for VideoRange.
Diffstat (limited to 'src/lib/types.h')
| -rw-r--r-- | src/lib/types.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/types.h b/src/lib/types.h index f8f23a300..4569cfd9a 100644 --- a/src/lib/types.h +++ b/src/lib/types.h @@ -139,10 +139,10 @@ enum ChangeType }; -enum VideoRange +enum class VideoRange { - VIDEO_RANGE_FULL, ///< full, or "JPEG" (0-255 for 8-bit) - VIDEO_RANGE_VIDEO ///< video, or "MPEG" (16-235 for 8-bit) + FULL, ///< full, or "JPEG" (0-255 for 8-bit) + VIDEO ///< video, or "MPEG" (16-235 for 8-bit) }; extern std::string video_range_to_string (VideoRange r); |
