summaryrefslogtreecommitdiff
path: root/libavfilter/avf_ahistogram.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavfilter/avf_ahistogram.c')
-rw-r--r--libavfilter/avf_ahistogram.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/avf_ahistogram.c b/libavfilter/avf_ahistogram.c
index d14e0bcfac..c45493730d 100644
--- a/libavfilter/avf_ahistogram.c
+++ b/libavfilter/avf_ahistogram.c
@@ -245,6 +245,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
memset(s->out->data[3] + n * s->out->linesize[0], 0, w);
}
s->out->pts = av_rescale_q(in->pts, inlink->time_base, outlink->time_base);
+ s->out->duration = 1;
s->first = s->frame_count;