mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-13 21:28:01 +02:00
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->wh = 300 * 1.6180;
|
||||
s->wh = 300 * 1.6;
|
||||
s->x = s->xpos * (inlink->w - 1);
|
||||
s->y = s->ypos * (inlink->h - 1);
|
||||
if (s->x + s->w >= inlink->w || s->y + s->h >= inlink->h) {
|
||||
|
Loading…
Reference in New Issue
Block a user