Unified · Split
| @@ -533,8 +533,8 @@ static int create_stream(AVFormatContext *s) · 532 unmodified lines | |||
| 533 | gc = xcb_get_geometry(c->conn, c->screen->root); | 533 | gc = xcb_get_geometry(c->conn, c->screen->root); |
| 534 | geo = xcb_get_geometry_reply(c->conn, gc, NULL); | 534 | geo = xcb_get_geometry_reply(c->conn, gc, NULL); |
| 535 | 535 | ||
| 536 | if (c->x + c->width >= geo->width || | 536 | if (c->x + c->width > geo->width || |
| 537 | c->y + c->height >= geo->height) { | 537 | c->y + c->height > geo->height) { |
| 538 | av_log(s, AV_LOG_ERROR, | 538 | av_log(s, AV_LOG_ERROR, |
| 539 | "Capture area %dx%d at position %d.%d " | 539 | "Capture area %dx%d at position %d.%d " |
| 540 | "outside the screen size %dx%d\n", | 540 | "outside the screen size %dx%d\n", |