Mercurial > libavcodec.hg
diff mpegvideo.c @ 3296:d185908c71cb libavcodec
allow insane gop sizes if the user doesnt care about playable streams (doesnt want compliance to any standard)
author | michael |
---|---|
date | Tue, 09 May 2006 08:40:38 +0000 |
parents | 30d412952107 |
children | ceb221c4eca7 |
line wrap: on
line diff
--- a/mpegvideo.c Mon May 08 13:44:54 2006 +0000 +++ b/mpegvideo.c Tue May 09 08:40:38 2006 +0000 @@ -947,7 +947,7 @@ 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; }