ffmpeg | branch: master | Paul B Mahol <[email protected]> | Tue Jan 17 22:36:03 
2023 +0100| [3cc08688e3f41bd49563f61d35f40bbc78c4e369] | committer: Paul B Mahol

avfilter/vf_elbg: call av_frame_copy_props()

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3cc08688e3f41bd49563f61d35f40bbc78c4e369
---

 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];

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to