Commit a749e43c authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_datascope: call av_frame_copy_props()

parent 01343683
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment