diff options
author | Paul B Mahol <onemda@gmail.com> | 2019-07-03 14:52:44 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2019-07-03 14:54:05 +0200 |
commit | 1ac643f06654e97921069e5a5c322e0e168de7e8 (patch) | |
tree | c5430d9af8f8bd4944aa731f339ecfb1c4e4e899 /libavfilter/vf_lut2.c | |
parent | cc5c6367807736c1b3faa126e25afe0f946f19e9 (diff) | |
download | ffmpeg-1ac643f06654e97921069e5a5c322e0e168de7e8.tar.gz |
avfilter/vf_lut2: use time_base from framesync
Fixes non-monotonous timestamps.
Diffstat (limited to 'libavfilter/vf_lut2.c')
-rw-r--r-- | libavfilter/vf_lut2.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavfilter/vf_lut2.c b/libavfilter/vf_lut2.c index 2d4ede7158..721de7d210 100644 --- a/libavfilter/vf_lut2.c +++ b/libavfilter/vf_lut2.c @@ -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) |