projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4766772
)
Fix error message.
author
Carl Hetherington
<cth@carlh.net>
Sun, 6 Nov 2022 22:54:59 +0000
(23:54 +0100)
committer
Carl Hetherington
<cth@carlh.net>
Sun, 6 Nov 2022 22:54:59 +0000
(23:54 +0100)
src/lib/ffmpeg_file_encoder.cc
patch
|
blob
|
history
diff --git
a/src/lib/ffmpeg_file_encoder.cc
b/src/lib/ffmpeg_file_encoder.cc
index fe39c6b2efa8282f787855db12ea92742e4b23d6..6799d09b4b6b66a306774a9f511bbe6341726f12 100644
(file)
--- a/
src/lib/ffmpeg_file_encoder.cc
+++ b/
src/lib/ffmpeg_file_encoder.cc
@@
-325,7
+325,7
@@
FFmpegFileEncoder::setup_video ()
_video_codec_context->flags |= AV_CODEC_FLAG_QSCALE | AV_CODEC_FLAG_GLOBAL_HEADER;
if (avcodec_open2 (_video_codec_context, _video_codec, &_video_options) < 0) {
- throw EncodeError
(N_("avcodec_open
"), N_("FFmpegFileEncoder::setup_video"));
+ throw EncodeError
(N_("avcodec_open2
"), N_("FFmpegFileEncoder::setup_video"));
}
_video_stream = avformat_new_stream (_format_context, _video_codec);