diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-08-11 13:37:19 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-28 10:33:59 +0100 |
commit | 4673bcc2556196c4a98826a07f30419b5c4e1113 (patch) | |
tree | d15b81e90ac273cfab3d488782dd2ab9f1761c08 | |
parent | becbb22eb032149836070d13edf6b92f87780b35 (diff) |
lavfi/setpts: unset frame durations
This filter cannot know frame durations.
-rw-r--r-- | libavfilter/setpts.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/setpts.c b/libavfilter/setpts.c index 171fae88c0..ba653df4ae 100644 --- a/libavfilter/setpts.c +++ b/libavfilter/setpts.c @@ -185,6 +185,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) d = eval_pts(setpts, inlink, frame, frame->pts); frame->pts = D2TS(d); + frame->duration = 0; av_log(inlink->dst, AV_LOG_TRACE, "N:%"PRId64" PTS:%s T:%f POS:%s", |