From 2c3f211b6dacf314f235fc700cd31084049a6886 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Jan 2023 18:21:56 +0100 Subject: [PATCH] avfilter/af_virtualbass: call av_frame_copy_props() --- 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); }