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

Paul B Mahol git at videolan.org
Tue Jan 17 18:51:26 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 15:53:52 2023 +0100| [5625f0542de2eebe8255d318f279d8c2f66c7c4d] | committer: Paul B Mahol

avfilter/af_afftdn: call av_frame_copy_props()

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

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

diff --git a/libavfilter/af_afftdn.c b/libavfilter/af_afftdn.c
index aa30e35d57..de17dc1b2c 100644
--- a/libavfilter/af_afftdn.c
+++ b/libavfilter/af_afftdn.c
@@ -1196,7 +1196,7 @@ static int output_frame(AVFilterLink *inlink, AVFrame *in)
             return AVERROR(ENOMEM);
         }
 
-        out->pts = in->pts;
+        av_frame_copy_props(out, in);
     }
 
     for (int ch = 0; ch < inlink->ch_layout.nb_channels; ch++) {



More information about the ffmpeg-cvslog mailing list