summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_file_encoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/ffmpeg_file_encoder.cc')
-rw-r--r--src/lib/ffmpeg_file_encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ffmpeg_file_encoder.cc b/src/lib/ffmpeg_file_encoder.cc
index 782df4d20..18b90e0b5 100644
--- 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