Use enum class for VideoRange.
[dcpomatic.git] / src / lib / ffmpeg_file_encoder.cc
index 0eea003a92dda1f4a282af05988ca24811c03b93..0aa976c3fcf0187b35c901039f1d527596c2c61b 100644 (file)
@@ -401,7 +401,7 @@ FFmpegFileEncoder::video (shared_ptr<PlayerVideo> video, DCPTime time)
        /* All our output formats are video range at the moment */
        shared_ptr<Image> image = video->image (
                bind (&PlayerVideo::force, _1, _pixel_format),
-               VIDEO_RANGE_VIDEO,
+               VideoRange::VIDEO,
                true,
                false
                );