Commit 492b312d authored by Paul B Mahol's avatar Paul B Mahol

avfilter/vf_datascope: reduce block height

So it match minimal input video size requirement.
parent 06e990ce
...@@ -506,7 +506,7 @@ static int pixscope_config_input(AVFilterLink *inlink) ...@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment