projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Improve OpenFileError so that it doesn't say "opening for read"
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_image_proxy.cc
diff --git
a/src/lib/ffmpeg_image_proxy.cc
b/src/lib/ffmpeg_image_proxy.cc
index fa6cb288d28637ece3f55921cf69edb19fe1065e..9c91d1d87d7d6c60eb883ee346acbb14876bf5ee 100644
(file)
--- a/
src/lib/ffmpeg_image_proxy.cc
+++ b/
src/lib/ffmpeg_image_proxy.cc
@@
-147,7
+147,7
@@
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 {
boost::throw_exception(DecodeError(String::compose(_("Could not decode image (%1)"), e)));
}