From bf23d530d25370819792378d72979a137e6527b9 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Jan 2023 23:17:07 +0100 Subject: [PATCH] avfilter/vf_histogram: call av_frame_copy_props() --- libavfilter/vf_histogram.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c index ced7cda6f4..83477692cd 100644 --- a/libavfilter/vf_histogram.c +++ b/libavfilter/vf_histogram.c @@ -593,7 +593,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) memset(s->histogram, 0, s->histogram_size * sizeof(unsigned)); } - out->pts = in->pts; + av_frame_copy_props(out, in); av_frame_free(&in); s->x_pos++; if (s->x_pos >= s->width) {