mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/vf_datascope: reduce block height
So it match minimal input video size requirement.
This commit is contained in:
parent
06e990ce89
commit
492b312ddd
|
@ -506,7 +506,7 @@ static int pixscope_config_input(AVFilterLink *inlink)
|
||||||
}
|
}
|
||||||
|
|
||||||
s->ww = 300;
|
s->ww = 300;
|
||||||
s->wh = 300 * 1.6180;
|
s->wh = 300 * 1.6;
|
||||||
s->x = s->xpos * (inlink->w - 1);
|
s->x = s->xpos * (inlink->w - 1);
|
||||||
s->y = s->ypos * (inlink->h - 1);
|
s->y = s->ypos * (inlink->h - 1);
|
||||||
if (s->x + s->w >= inlink->w || s->y + s->h >= inlink->h) {
|
if (s->x + s->w >= inlink->w || s->y + s->h >= inlink->h) {
|
||||||
|
|
Loading…
Reference in New Issue