mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avfilter/vf_blend: use time_base from framesync
Fixes non-monotonous timestamps.
This commit is contained in:
parent
d71dafb2ab
commit
d49d7d238f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user