aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2018-09-11 11:58:49 +0200
committerPaul B Mahol <onemda@gmail.com>2018-09-11 11:58:49 +0200
commit492b312ddd855ecb9334960b9602086937196e76 (patch)
tree41b9a5ff516ed9a99853dcc744f04c792596993e
parent06e990ce8911f16c109c0f1cd83348d26fcf3aa9 (diff)
downloadffmpeg-492b312ddd855ecb9334960b9602086937196e76.tar.gz
avfilter/vf_datascope: reduce block height
So it match minimal input video size requirement.
-rw-r--r--libavfilter/vf_datascope.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_datascope.c b/libavfilter/vf_datascope.c
index 467663556e..6bcc18e85e 100644
--- a/libavfilter/vf_datascope.c
+++ b/libavfilter/vf_datascope.c
@@ -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) {