]> git.sesse.net Git - nageru/blobdiff - quicksync_encoder.cpp
Use the new libavformat functionality for marking keyframes.
[nageru] / quicksync_encoder.cpp
index 041ac07d85db3076aa8df0bc1b8306a1717d7edb..11d1c0de6e36b988bf4b6c32d51a3085f5e73d7a 100644 (file)
@@ -1942,7 +1942,7 @@ void QuickSyncEncoderImpl::open_output_file(const std::string &filename)
        }
 
        string video_extradata = "";  // FIXME: See other comment about global headers.
-       file_mux.reset(new Mux(avctx, frame_width, frame_height, Mux::CODEC_H264, video_extradata, file_audio_encoder->get_ctx(), TIMEBASE, nullptr));
+       file_mux.reset(new Mux(avctx, frame_width, frame_height, Mux::CODEC_H264, video_extradata, file_audio_encoder->get_ctx(), TIMEBASE));
 }
 
 void QuickSyncEncoderImpl::encode_thread_func()