This is the same fix applied to regular yadif.
Unified · Split
| @@ -297,10 +297,9 @@ static int config_output(AVFilterLink *link) · 296 unmodified lines | |||
| 297 | goto exit; | 297 | goto exit; |
| 298 | } | 298 | } |
| 299 | 299 | ||
| 300 | link->time_base.num = ctx->inputs[0]->time_base.num; | 300 | link->time_base = av_mul_q(ctx->inputs[0]->time_base, (AVRational){1, 2}); |
| 301 | link->time_base.den = ctx->inputs[0]->time_base.den * 2; | 301 | link->w = ctx->inputs[0]->w; |
| 302 | link->w = ctx->inputs[0]->w; | 302 | link->h = ctx->inputs[0]->h; |
| 303 | link->h = ctx->inputs[0]->h; | ||
| 304 | 303 | ||
| 305 | if(y->mode & 1) | 304 | if(y->mode & 1) |
| 306 | link->frame_rate = av_mul_q(ctx->inputs[0]->frame_rate, | 305 | link->frame_rate = av_mul_q(ctx->inputs[0]->frame_rate, |