X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fffmpeg_image_proxy.cc;h=9c91d1d87d7d6c60eb883ee346acbb14876bf5ee;hb=0877bf6d06de8e6f768534ec40c26bf629618a20;hp=33c619a2d92c5c6938e2a1a5f777ccce39326ae4;hpb=3584157f1c3891259da0f86ea933f390449ad657;p=dcpomatic.git diff --git a/src/lib/ffmpeg_image_proxy.cc b/src/lib/ffmpeg_image_proxy.cc index 33c619a2d..9c91d1d87 100644 --- a/src/lib/ffmpeg_image_proxy.cc +++ b/src/lib/ffmpeg_image_proxy.cc @@ -147,10 +147,9 @@ FFmpegImageProxy::image (optional) const } if (e < 0) { if (_path) { - throw OpenFileError (_path->string(), e, true); + throw OpenFileError (_path->string(), e, OpenFileError::READ); } else { - /* XXX: this needs to be marked translatable after the string freeze is over */ - boost::throw_exception(DecodeError(String::compose("Could not decode image (%1)", e))); + boost::throw_exception(DecodeError(String::compose(_("Could not decode image (%1)"), e))); } }