mirror of https://git.ffmpeg.org/ffmpeg.git
lavfi/vf_super2xsai: fix output ref size.
This commit is contained in:
parent
bd465fdc73
commit
ddd87236f0
|
@ -312,6 +312,8 @@ static int filter_frame(AVFilterLink *inlink, AVFilterBufferRef *inpicref)
|
|||
return AVERROR(ENOMEM);
|
||||
}
|
||||
avfilter_copy_buffer_ref_props(outpicref, inpicref);
|
||||
outpicref->video->w = outlink->w;
|
||||
outpicref->video->h = outlink->h;
|
||||
|
||||
super2xsai(inlink->dst, inpicref->data[0], inpicref->linesize[0],
|
||||
outpicref->data[0], outpicref->linesize[0],
|
||||
|
|
Loading…
Reference in New Issue