summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2023-01-17 22:36:03 +0100
committerPaul B Mahol <onemda@gmail.com>2023-01-17 22:43:39 +0100
commit3cc08688e3f41bd49563f61d35f40bbc78c4e369 (patch)
tree6c8b27bd6c2c41d05db3026c403c3b31e8c0bdc7
parentceb52d47a36f581c32bff7c91f7d1f80b0ae9050 (diff)
avfilter/vf_elbg: call av_frame_copy_props()
-rw-r--r--libavfilter/vf_elbg.c2
1 files changed, 1 insertions, 1 deletions
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];