Commit d49d7d23 authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_blend: use time_base from framesync

Fixes non-monotonous timestamps.
parent d71dafb2
......@@ -694,7 +694,13 @@ static int config_output(AVFilterLink *outlink)
}
}
return s->tblend ? 0 : ff_framesync_configure(&s->fs);
if (s->tblend)
return 0;
ret = ff_framesync_configure(&s->fs);
outlink->time_base = s->fs.time_base;
return ret;
}
#if CONFIG_BLEND_FILTER
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment