From 6ce51e5ee14492d8f5af10ea500b25c615c0fc31 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Jan 2023 22:50:38 +0100 Subject: [PATCH] avfilter/vf_lagfun: call av_frame_copy_props() --- libavfilter/vf_lagfun.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_lagfun.c b/libavfilter/vf_lagfun.c index 69191ac1d3..352f08512f 100644 --- a/libavfilter/vf_lagfun.c +++ b/libavfilter/vf_lagfun.c @@ -173,7 +173,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) av_frame_free(&in); return AVERROR(ENOMEM); } - out->pts = in->pts; + av_frame_copy_props(out, in); td.out = out; td.in = in;