Ffmpeg Codec_flag_global_header

ffmpeg codec_flag_global_header
— a/plugins/djvFFmpegPlugin/djvFFmpegSave.cpp
+++ b/plugins/djvFFmpegPlugin/djvFFmpegSave.cpp
@@ -234,11 +234,11 @@ void djvFFmpegSave::open(const djvFileInfo & fileInfo, const djvImageIoInfo & in
avCodecContext->time_base.num = info.sequence.speed.duration();

if (avFormat->flags & AVFMT_GLOBALHEADER)
– avCodecContext->flags |= CODEC_FLAG_GLOBAL_HEADER;
+ avCodecContext->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;

if (avQScale >= 0.0)
{
ffmpeg codec_flag_global_header here ffmpeg codec_flag_global_header
– avCodecContext->flags |= CODEC_FLAG_QSCALE;
+ avCodecContext->flags |= AV_CODEC_FLAG_QSCALE;
avCodecContext->global_quality = FF_QP2LAMBDA * avQScale;
}
ffmpeg codec_flag_global_header

Tags: ffmpeg codec_flag_global_header, www bcfakes com

Leave a Comment