avfilter/vf_datascope: call av_frame_copy_props()

This commit is contained in:
Paul B Mahol 2023-01-18 21:23:39 +01:00
parent 01343683fa
commit a749e43c86
1 changed files with 1 additions and 1 deletions

View File

@ -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);