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) {