mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2025-01-31 17:35:34 +00:00
avfilter/vf_lut2: use time_base from framesync
Fixes non-monotonous timestamps.
This commit is contained in:
parent
cc5c636780
commit
1ac643f066
@ -507,7 +507,10 @@ static int lut2_config_output(AVFilterLink *outlink)
|
||||
if ((ret = config_output(outlink)) < 0)
|
||||
return ret;
|
||||
|
||||
return ff_framesync_configure(&s->fs);
|
||||
ret = ff_framesync_configure(&s->fs);
|
||||
outlink->time_base = s->fs.time_base;
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
static int activate(AVFilterContext *ctx)
|
||||
|
Loading…
x
Reference in New Issue
Block a user