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

Paul B Mahol git at videolan.org
Tue Jan 17 15:55:38 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 14:34:09 2023 +0100| [8885d5dc7a8b06f73fb1b1f8c15c033109c3f013] | committer: Paul B Mahol

avfilter/af_surround: call av_frame_copy_props()

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

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

diff --git a/libavfilter/af_surround.c b/libavfilter/af_surround.c
index 702fdc624a..925cb6e66c 100644
--- a/libavfilter/af_surround.c
+++ b/libavfilter/af_surround.c
@@ -1291,7 +1291,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
                       FFMIN(outlink->ch_layout.nb_channels,
                             ff_filter_get_nb_threads(ctx)));
 
-    out->pts = in->pts;
+    av_frame_copy_props(out, in);
     out->nb_samples = in->nb_samples;
 
     av_frame_free(&in);



More information about the ffmpeg-cvslog mailing list