Another macOS std::list boost::thread SNAFU.
[dcpomatic.git] / src / lib / ffmpeg_image_proxy.cc
index 33c619a2d92c5c6938e2a1a5f777ccce39326ae4..9c91d1d87d7d6c60eb883ee346acbb14876bf5ee 100644 (file)
@@ -147,10 +147,9 @@ FFmpegImageProxy::image (optional<dcp::Size>) 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)));
                }
        }