mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-04-18 08:30:24 +00:00
lavfi/scale_vulkan: fix width/height match check
Sponsored-by: Sovereign Tech Fund
This commit is contained in:
parent
0e077f2dc1
commit
5482deeb66
1 changed files with 1 additions and 1 deletions
|
|
@ -447,7 +447,7 @@ static int scale_vulkan_config_output(AVFilterLink *outlink)
|
|||
av_log(avctx, AV_LOG_ERROR, "Scaling is not supported with debayering\n");
|
||||
return AVERROR_PATCHWELCOME;
|
||||
}
|
||||
} else if (inlink->w == outlink->w || inlink->w == outlink->w) {
|
||||
} else if (inlink->w == outlink->w || inlink->h == outlink->h) {
|
||||
s->sws = sws_alloc_context();
|
||||
if (!s->sws)
|
||||
return AVERROR(ENOMEM);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue