summaryrefslogtreecommitdiff
path: root/libavfilter/avf_showcwt.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-01-17 14:34:47 +0100
committerPaul B Mahol <onemda@gmail.com>2023-01-17 14:50:08 +0100
commit6b8adbfe030d318123874456157270e985fd3078 (patch)
tree9f4b07f0178b04c3563a96cf2bac3b18d5a93b00 /libavfilter/avf_showcwt.c
parent2cee62295fec51b3452148dc3806e9a59d777e86 (diff)
downloadffmpeg-6b8adbfe030d318123874456157270e985fd3078.tar.gz
avfilter/avf_a3dscope,avf_showcwt: set video frame duration
Diffstat (limited to 'libavfilter/avf_showcwt.c')
-rw-r--r--libavfilter/avf_showcwt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_showcwt.c b/libavfilter/avf_showcwt.c
index 2c7c447305..ed1bc4c65a 100644
--- a/libavfilter/avf_showcwt.c
+++ b/libavfilter/avf_showcwt.c
@@ -869,6 +869,7 @@ static int output_frame(AVFilterContext *ctx)
int64_t pts_offset = s->new_frame ? 0LL : av_rescale(s->ihop_index, s->hop_size, s->ihop_size);
s->outpicref->pts = av_rescale_q(s->in_pts + pts_offset, inlink->time_base, outlink->time_base);
+ s->outpicref->duration = 1;
}
s->ihop_index++;