From 3cc08688e3f41bd49563f61d35f40bbc78c4e369 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Jan 2023 22:36:03 +0100 Subject: [PATCH] avfilter/vf_elbg: call av_frame_copy_props() --- libavfilter/vf_elbg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavfilter/vf_elbg.c b/libavfilter/vf_elbg.c index fc73346ae1..d1166714fc 100644 --- a/libavfilter/vf_elbg.c +++ b/libavfilter/vf_elbg.c @@ -187,7 +187,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *frame) av_frame_free(&frame); return AVERROR(ENOMEM); } - out->pts = frame->pts; + av_frame_copy_props(out, frame); av_frame_free(&frame); pal = (uint32_t *)out->data[1]; p0 = (uint8_t *)out->data[0];