mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_datascope: call av_frame_copy_props()
This commit is contained in:
parent
01343683fa
commit
a749e43c86
|
@ -322,7 +322,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||||
av_frame_free(&in);
|
av_frame_free(&in);
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
out->pts = in->pts;
|
av_frame_copy_props(out, in);
|
||||||
|
|
||||||
ff_fill_rectangle(&s->draw, &s->black, out->data, out->linesize,
|
ff_fill_rectangle(&s->draw, &s->black, out->data, out->linesize,
|
||||||
0, 0, outlink->w, outlink->h);
|
0, 0, outlink->w, outlink->h);
|
||||||
|
|
Loading…
Reference in New Issue