From c75152cb3d35032924455febcbea1117991ea7a6 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Thu, 11 Aug 2022 13:37:19 +0200 Subject: lavfi/setpts: unset frame durations This filter cannot know frame durations. --- libavfilter/setpts.c | 1 + 1 file changed, 1 insertion(+) 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", -- cgit v1.2.3