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/util.cc | |
| parent | 886c256f532e0f43bcd7f6f9924147c151293cab (diff) | |
Use enum class for VideoRange.
Diffstat (limited to 'src/lib/util.cc')
| -rw-r--r-- | src/lib/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/util.cc b/src/lib/util.cc index 36143e232..67b6599ea 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -954,7 +954,7 @@ void emit_subtitle_image (ContentTimePeriod period, dcp::SubtitleImage sub, dcp::Size size, shared_ptr<TextDecoder> decoder) { /* XXX: this is rather inefficient; decoding the image just to get its size */ - FFmpegImageProxy proxy (sub.png_image(), VIDEO_RANGE_FULL); + FFmpegImageProxy proxy (sub.png_image(), VideoRange::FULL); auto image = proxy.image().image; /* set up rect with height and width */ dcpomatic::Rect<double> rect(0, 0, image->size().width / double(size.width), image->size().height / double(size.height)); |
