avfilter/vf_uspp: fix gop_size
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Jan 2015 14:58:28 +0000 (15:58 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 25 Jan 2015 14:58:28 +0000 (15:58 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavfilter/vf_uspp.c

index 16e85ea..a60e513 100644 (file)
@@ -345,7 +345,7 @@ static int config_input(AVFilterLink *inlink)
         avctx_enc->width = width + BLOCK;
         avctx_enc->height = height + BLOCK;
         avctx_enc->time_base = (AVRational){1,25};  // meaningless
-        avctx_enc->gop_size = 300;
+        avctx_enc->gop_size = INT_MAX;
         avctx_enc->max_b_frames = 0;
         avctx_enc->pix_fmt = inlink->format;
         avctx_enc->flags = CODEC_FLAG_QSCALE | CODEC_FLAG_LOW_DELAY;