X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Futil.cc;h=67b6599ea44459dd78d32ecd0dbdd7fe427fb415;hp=36143e2327fe46bd180480e0530ef8d88f49347d;hb=1d2a51bdc8315fa7283be329669860e435a1513f;hpb=886c256f532e0f43bcd7f6f9924147c151293cab 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 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 rect(0, 0, image->size().width / double(size.width), image->size().height / double(size.height));