[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mpegvideo.c,1.516,1.517
Michael Niedermayer CVS
michael
Tue May 9 10:40:40 CEST 2006
Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv10574
Modified Files:
mpegvideo.c
Log Message:
allow insane gop sizes if the user doesnt care about playable streams (doesnt want compliance to any standard)
Index: mpegvideo.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegvideo.c,v
retrieving revision 1.516
retrieving revision 1.517
diff -u -d -r1.516 -r1.517
--- mpegvideo.c 1 May 2006 00:28:36 -0000 1.516
+++ mpegvideo.c 9 May 2006 08:40:38 -0000 1.517
@@ -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;
}
More information about the ffmpeg-cvslog
mailing list