avfilter/vf_blend: use time_base from framesync

Fixes non-monotonous timestamps.
This commit is contained in:
Paul B Mahol 2019-07-03 14:42:54 +02:00
parent d71dafb2ab
commit d49d7d238f
1 changed files with 7 additions and 1 deletions

View File

@ -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