You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avfilter/vf_datascope: call av_frame_copy_props()
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user