Various alignment tidying/fixups.
[dcpomatic.git] / src / lib / util.cc
index 981cfa521eda35957eec466f8225f510f9c11506..d3af74376a3cd2349eeceafa9ab3ab35f5dc9423 100644 (file)
@@ -957,7 +957,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::Alignment::COMPACT).image;
+       auto image = proxy.image(Image::Alignment::PADDED).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));