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

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


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 15:57:25 2023 +0100| [697e0fc06231f54781156c01de1590096db22fba] | committer: Paul B Mahol

avfilter/af_afftfilt: call av_frame_copy_props()

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

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

diff --git a/libavfilter/af_afftfilt.c b/libavfilter/af_afftfilt.c
index a65ccc8594..9b09dcaa39 100644
--- a/libavfilter/af_afftfilt.c
+++ b/libavfilter/af_afftfilt.c
@@ -345,7 +345,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
         goto fail;
     }
 
-    out->pts = in->pts;
+    av_frame_copy_props(out, in);
     out->nb_samples = in->nb_samples;
 
     for (ch = 0; ch < inlink->ch_layout.nb_channels; ch++) {



More information about the ffmpeg-cvslog mailing list