Adapt for libdcp use of enum class.
[dcpomatic.git] / src / lib / player_video.cc
index 683fc27fc2e2c1f2c29af6a1c35510f02e142d27..ce552f20fb78a780a820f47acad2b3f66d60b760 100644 (file)
@@ -166,7 +166,7 @@ PlayerVideo::make_image (function<AVPixelFormat (AVPixelFormat)> pixel_format, V
                total_crop.bottom /= r;
        }
 
-       dcp::YUVToRGB yuv_to_rgb = dcp::YUV_TO_RGB_REC601;
+       dcp::YUVToRGB yuv_to_rgb = dcp::YUVToRGB::REC601;
        if (_colour_conversion) {
                yuv_to_rgb = _colour_conversion.get().yuv_to_rgb();
        }