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

index 2aa2e27..1329915 100644 (file)
@@ -117,7 +117,7 @@ static int config_props(AVFilterLink *inlink)
     enc_ctx->width  = inlink->w;
     enc_ctx->height = inlink->h;
     enc_ctx->time_base = (AVRational){1,25};  // meaningless
-    enc_ctx->gop_size = 300;
+    enc_ctx->gop_size = INT_MAX;
     enc_ctx->max_b_frames = 0;
     enc_ctx->pix_fmt = AV_PIX_FMT_YUV420P;
     enc_ctx->flags = CODEC_FLAG_QSCALE | CODEC_FLAG_LOW_DELAY;