[FFmpeg-cvslog] avfilter/vf_histogram: call av_frame_copy_props()

Paul B Mahol git at videolan.org
Wed Jan 18 00:21:52 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 23:17:07 2023 +0100| [bf23d530d25370819792378d72979a137e6527b9] | committer: Paul B Mahol

avfilter/vf_histogram: call av_frame_copy_props()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bf23d530d25370819792378d72979a137e6527b9
---

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



More information about the ffmpeg-cvslog mailing list