Various alignment adjustments.
[dcpomatic.git] / src / lib / util.cc
index 0646a478772a086704cfcb6b7e4d2d87408ab18c..c65b2bc850fcac89c49195d55fcb901ab9216572 100644 (file)
@@ -956,7 +956,7 @@ emit_subtitle_image (ContentTimePeriod period, dcp::SubtitleImage sub, dcp::Size
 {
        /* XXX: this is rather inefficient; decoding the image just to get its size */
        FFmpegImageProxy proxy (sub.png_image());
-       auto image = proxy.image().image;
+       auto image = proxy.image(false).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));