Browse Source

avfilter/vf_datascope: reduce block height

So it match minimal input video size requirement.
tags/n4.1
Paul B Mahol 7 years ago
parent
commit
492b312ddd
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavfilter/vf_datascope.c

+ 1
- 1
libavfilter/vf_datascope.c View File

@@ -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…
Cancel
Save