]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/vf_datascope: reduce block height
authorPaul B Mahol <onemda@gmail.com>
Tue, 11 Sep 2018 09:58:49 +0000 (11:58 +0200)
committerPaul B Mahol <onemda@gmail.com>
Tue, 11 Sep 2018 09:58:49 +0000 (11:58 +0200)
So it match minimal input video size requirement.

libavfilter/vf_datascope.c

index 467663556e04b19da67082ba1a0815816cdd0f66..6bcc18e85e04512172c559e79cf7bb4f9ed4f94d 100644 (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) {