X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Futil.cc;h=0a060e96084ccf55cd9e913cbf88adc5d6c5afac;hb=e64a1a9aae0200d14feed49a4c6cf537bf5708a4;hp=37b03c83605fa73c1131b6f15ee3216cd3bf2ecd;hpb=4cf45229bf55344e708fead769f694f13bacf39c;p=dcpomatic.git diff --git a/src/lib/util.cc b/src/lib/util.cc index 37b03c836..0a060e960 100644 --- a/src/lib/util.cc +++ b/src/lib/util.cc @@ -592,7 +592,7 @@ short_audio_channel_name (int c) _("DBP"), _("DBS"), "", - _("Sign") + "" }; return channels[c]; @@ -953,7 +953,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()); + FFmpegImageProxy proxy (sub.png_image(), VIDEO_RANGE_FULL); 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));