[FFmpeg-cvslog] avfilter/vf_datascope: reduce block height

Paul B Mahol git at videolan.org
Tue Sep 11 13:01:43 EEST 2018


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Tue Sep 11 11:58:49 2018 +0200| [492b312ddd855ecb9334960b9602086937196e76] | committer: Paul B Mahol

avfilter/vf_datascope: reduce block height

So it match minimal input video size requirement.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=492b312ddd855ecb9334960b9602086937196e76
---

 libavfilter/vf_datascope.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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) {



More information about the ffmpeg-cvslog mailing list