mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-13 02:20:07 +01:00
@@ -973,7 +973,7 @@ static int oscilloscope_filter_frame(AVFilterLink *inlink, AVFrame *frame)
|
|||||||
frame->width, frame->height,
|
frame->width, frame->height,
|
||||||
s->ox, s->oy, s->width, s->height + 20 * s->statistics);
|
s->ox, s->oy, s->width, s->height + 20 * s->statistics);
|
||||||
|
|
||||||
if (s->grid) {
|
if (s->grid && outlink->h >= 10) {
|
||||||
ff_fill_rectangle(&s->draw, &s->gray, frame->data, frame->linesize,
|
ff_fill_rectangle(&s->draw, &s->gray, frame->data, frame->linesize,
|
||||||
s->ox, s->oy, s->width - 1, 1);
|
s->ox, s->oy, s->width - 1, 1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user