ffmpeg | branch: master | Paul B Mahol <[email protected]> | Wed Jan 18 21:23:39 
2023 +0100| [a749e43c86ea4fd217b035538435ba16956a729c] | committer: Paul B Mahol

avfilter/vf_datascope: call av_frame_copy_props()

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

 libavfilter/vf_datascope.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavfilter/vf_datascope.c b/libavfilter/vf_datascope.c
index 0a605985f1..d4f441c0ab 100644
--- a/libavfilter/vf_datascope.c
+++ b/libavfilter/vf_datascope.c
@@ -322,7 +322,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);
 
     ff_fill_rectangle(&s->draw, &s->black, out->data, out->linesize,
                       0, 0, outlink->w, outlink->h);

_______________________________________________
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