projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Remove some FFmpeg-related warnings by using AVStream::codecpar.
[dcpomatic.git]
/
src
/
lib
/
ffmpeg_file_encoder.cc
diff --git
a/src/lib/ffmpeg_file_encoder.cc
b/src/lib/ffmpeg_file_encoder.cc
index 782df4d20bfad835865b0dd561db4b2fb01d4e69..18b90e0b599b54cb6d1b13d866d45387122d11c7 100644
(file)
--- a/
src/lib/ffmpeg_file_encoder.cc
+++ b/
src/lib/ffmpeg_file_encoder.cc
@@
-335,8
+335,8
@@
FFmpegFileEncoder::setup_video ()
throw runtime_error ("could not create FFmpeg output video stream");
}
-DCPOMATIC_DISABLE_WARNINGS
_video_stream->id = _video_stream_index;
+DCPOMATIC_DISABLE_WARNINGS
_video_stream->codec = _video_codec_context;
DCPOMATIC_ENABLE_WARNINGS