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

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


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 22:50:38 2023 +0100| [6ce51e5ee14492d8f5af10ea500b25c615c0fc31] | committer: Paul B Mahol

avfilter/vf_lagfun: call av_frame_copy_props()

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

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

diff --git a/libavfilter/vf_lagfun.c b/libavfilter/vf_lagfun.c
index 69191ac1d3..352f08512f 100644
--- a/libavfilter/vf_lagfun.c
+++ b/libavfilter/vf_lagfun.c
@@ -173,7 +173,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
         av_frame_free(&in);
         return AVERROR(ENOMEM);
     }
-    out->pts = in->pts;
+    av_frame_copy_props(out, in);
 
     td.out = out;
     td.in = in;



More information about the ffmpeg-cvslog mailing list