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

Paul B Mahol git at videolan.org
Tue Jan 17 19:37:35 EET 2023


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Jan 17 18:21:56 2023 +0100| [2c3f211b6dacf314f235fc700cd31084049a6886] | committer: Paul B Mahol

avfilter/af_virtualbass: call av_frame_copy_props()

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

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

diff --git a/libavfilter/af_virtualbass.c b/libavfilter/af_virtualbass.c
index 950159096b..76b3f42030 100644
--- a/libavfilter/af_virtualbass.c
+++ b/libavfilter/af_virtualbass.c
@@ -146,10 +146,10 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
         av_frame_free(&in);
         return AVERROR(ENOMEM);
     }
+    av_frame_copy_props(out, in);
 
     vb_stereo(ctx, out, in);
 
-    out->pts = in->pts;
     av_frame_free(&in);
     return ff_filter_frame(outlink, out);
 }



More information about the ffmpeg-cvslog mailing list