# HG changeset patch # User michael # Date 1147164038 0 # Node ID d185908c71cb8f9c2d2740ec13837b3d83bdafe7 # Parent 8c9825dbea20b673c45627d228dead925025691b allow insane gop sizes if the user doesnt care about playable streams (doesnt want compliance to any standard) diff -r 8c9825dbea20 -r d185908c71cb mpegvideo.c --- 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; }