summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_examiner.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-01-27 01:44:20 +0100
committerCarl Hetherington <cth@carlh.net>2021-01-27 01:44:20 +0100
commit1d2a51bdc8315fa7283be329669860e435a1513f (patch)
tree7f1ccaf99bd89f61377f36405f12178586d65f8f /src/lib/ffmpeg_examiner.cc
parent886c256f532e0f43bcd7f6f9924147c151293cab (diff)
Use enum class for VideoRange.
Diffstat (limited to 'src/lib/ffmpeg_examiner.cc')
-rw-r--r--src/lib/ffmpeg_examiner.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/ffmpeg_examiner.cc b/src/lib/ffmpeg_examiner.cc
index 23c2f1a72..384c21e9c 100644
--- a/src/lib/ffmpeg_examiner.cc
+++ b/src/lib/ffmpeg_examiner.cc
@@ -431,9 +431,9 @@ FFmpegExaminer::range () const
switch (color_range()) {
case AVCOL_RANGE_MPEG:
case AVCOL_RANGE_UNSPECIFIED:
- return VIDEO_RANGE_VIDEO;
+ return VideoRange::VIDEO;
case AVCOL_RANGE_JPEG:
default:
- return VIDEO_RANGE_FULL;
+ return VideoRange::FULL;
}
}