This should allow us to insert idet before scale and let scale have interl=-1 as default in that case
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
{"half_life","half life of cumulative statistics",OFFSET(half_life),AV_OPT_TYPE_FLOAT,{.dbl=0.0},-1,INT_MAX,FLAGS},
{"analyze_interlaced_flag","set number of frames to use to determine if the interlace flag is accurate",OFFSET(analyze_interlaced_flag),AV_OPT_TYPE_INT,{.i64=0},0,INT_MAX,FLAGS},
{NULL}
};
@ -235,6 +236,19 @@ static int filter_frame(AVFilterLink *link, AVFrame *picref)
AVFilterContext*ctx=link->dst;
IDETContext*idet=ctx->priv;
// initial frame(s) and not interlaced, just pass through for