Skip to content
Snippets Groups Projects
Commit ec28cded authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avfilter/vf_mcdeint: fix gop_size

parent fd048e69
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ static int config_props(AVFilterLink *inlink) ...@@ -117,7 +117,7 @@ static int config_props(AVFilterLink *inlink)
enc_ctx->width = inlink->w; enc_ctx->width = inlink->w;
enc_ctx->height = inlink->h; enc_ctx->height = inlink->h;
enc_ctx->time_base = (AVRational){1,25}; // meaningless 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->max_b_frames = 0;
enc_ctx->pix_fmt = AV_PIX_FMT_YUV420P; enc_ctx->pix_fmt = AV_PIX_FMT_YUV420P;
enc_ctx->flags = CODEC_FLAG_QSCALE | CODEC_FLAG_LOW_DELAY; enc_ctx->flags = CODEC_FLAG_QSCALE | CODEC_FLAG_LOW_DELAY;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment