diff options
author | Paul B Mahol <onemda@gmail.com> | 2023-01-18 21:23:39 +0100 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2023-01-27 19:50:10 +0100 |
commit | a749e43c86ea4fd217b035538435ba16956a729c (patch) | |
tree | 449080e72cad4998bc7be015f456fed8ad23be5a /libavfilter | |
parent | 01343683fa219587fa282637389d13fde403099d (diff) | |
download | ffmpeg-a749e43c86ea4fd217b035538435ba16956a729c.tar.gz |
avfilter/vf_datascope: call av_frame_copy_props()
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_datascope.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |