summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-01-17 23:17:07 +0100
committerPaul B Mahol <onemda@gmail.com>2023-01-17 23:20:00 +0100
commitbf23d530d25370819792378d72979a137e6527b9 (patch)
treeb6ce10069bf204762efb343554a7ef4dcc6cd3af
parentc13d95934327ddad4db30f6aee93cd2aa6a26a57 (diff)
avfilter/vf_histogram: call av_frame_copy_props()
-rw-r--r--libavfilter/vf_histogram.c2
1 files changed, 1 insertions, 1 deletions
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) {