From 92984df6ab50ba4ec90d105e44b58efa863c4b59 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Sun, 21 Aug 2016 22:59:19 +0100 Subject: Even better open-file error reports. --- src/lib/ffmpeg.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/ffmpeg.cc') diff --git a/src/lib/ffmpeg.cc b/src/lib/ffmpeg.cc index f750cfd58..4b95666b8 100644 --- a/src/lib/ffmpeg.cc +++ b/src/lib/ffmpeg.cc @@ -133,7 +133,7 @@ FFmpeg::setup_general () int e = avformat_open_input (&_format_context, 0, 0, &options); if (e < 0) { - throw OpenFileError (_ffmpeg_content->path(0).string(), e); + throw OpenFileError (_ffmpeg_content->path(0).string(), e, true); } if (avformat_find_stream_info (_format_context, 0) < 0) { -- cgit v1.2.3