avfilter/af_virtualbass: call av_frame_copy_props()

This commit is contained in:
Paul B Mahol 2023-01-17 18:21:56 +01:00
parent 07485a6975
commit 2c3f211b6d

View File

@ -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);
}