static int config_props(AVFilterLink *link)

{

    YADIFContext *yadif = link->src->priv;



    link->time_base.num = link->src->inputs[0]->time_base.num;

    link->time_base.den = link->src->inputs[0]->time_base.den * 2;

    link->w             = link->src->inputs[0]->w;

    link->h             = link->src->inputs[0]->h;



    if(yadif->mode&1)

        link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate, (AVRational){2,1});



    return 0;

}

static int config_props(AVFilterLink *link)

{

    YADIFContext *yadif = link->src->priv;



    link->time_base.num = link->src->inputs[0]->time_base.num;

    link->time_base.den = link->src->inputs[0]->time_base.den * 2;

    link->w             = link->src->inputs[0]->w;

    link->h             = link->src->inputs[0]->h;



    if(yadif->mode&1)

        link->frame_rate = av_mul_q(link->src->inputs[0]->frame_rate, (AVRational){2,1});



    return 0;

}

    YADIFContext *yadif = link->src->priv;
static int FUNC_0(AVFilterLink *VAR_0)

{

    YADIFContext *yadif = VAR_0->src->priv;



    VAR_0->time_base.num = VAR_0->src->inputs[0]->time_base.num;

    VAR_0->time_base.den = VAR_0->src->inputs[0]->time_base.den * 2;

    VAR_0->w             = VAR_0->src->inputs[0]->w;

    VAR_0->h             = VAR_0->src->inputs[0]->h;



    if(yadif->mode&1)

        VAR_0->frame_rate = av_mul_q(VAR_0->src->inputs[0]->frame_rate, (AVRational){2,1});



    return 0;

}

static int FUNC_0(AVFilterLink *VAR_0)
{ YADIFContext *yadif = VAR_0->src->priv; VAR_0->time_base.num = VAR_0->src->inputs[0]->time_base.num; VAR_0->time_base.den = VAR_0->src->inputs[0]->time_base.den * 2; VAR_0->w             = VAR_0->src->inputs[0]->w; VAR_0->h             = VAR_0->src->inputs[0]->h; if(yadif->mode&1)
VAR_0->frame_rate = av_mul_q(VAR_0->src->inputs[0]->frame_rate, (AVRational){2,1}); return 0; }