X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=src%2Flib%2Futil.cc;h=d04bbdf24cc8b0948b6c45c18591d39f117c1150;hb=3b31d2d8a129ae6d8d267427bd6b5bc444b40b2a;hp=e4f552c4d7c46177414b1db0e40352847f7bf705;hpb=b029cb06c4e0fca1fad9fecd78939efe5532fa9a;p=dcpomatic.git diff --git a/src/lib/util.cc b/src/lib/util.cc index e4f552c4d..d04bbdf24 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -927,7 +927,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()); - shared_ptr image = proxy.image().first; + shared_ptr 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));