Commit d3f1f17d authored by michael's avatar michael

allow insane gop sizes if the user doesnt care about playable streams (doesnt...

allow insane gop sizes if the user doesnt care about playable streams (doesnt want compliance to any standard)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@5351 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 78e04f3a
......@@ -947,7 +947,7 @@ int MPV_encode_init(AVCodecContext *avctx)
s->bit_rate = avctx->bit_rate;
s->width = avctx->width;
s->height = avctx->height;
if(avctx->gop_size > 600){
if(avctx->gop_size > 600 && avctx->strict_std_compliance>FF_COMPLIANCE_EXPERIMENTAL){
av_log(avctx, AV_LOG_ERROR, "Warning keyframe interval too large! reducing it ...\n");
avctx->gop_size=600;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment