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

Paul B Mahol git at videolan.org
Tue Jan 17 23:46:27 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 22:36:03 2023 +0100| [3cc08688e3f41bd49563f61d35f40bbc78c4e369] | committer: Paul B Mahol

avfilter/vf_elbg: call av_frame_copy_props()

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

 libavfilter/vf_elbg.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c
index fc73346ae1..d1166714fc 100644
--- a/libavfilter/vf_elbg.c
+++ b/libavfilter/vf_elbg.c
@@ -187,7 +187,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame)
             av_frame_free(&frame);
             return AVERROR(ENOMEM);
         }
-        out->pts = frame->pts;
+        av_frame_copy_props(out, frame);
         av_frame_free(&frame);
         pal = (uint32_t *)out->data[1];
         p0 = (uint8_t *)out->data[0];



More information about the ffmpeg-cvslog mailing list