Ticket #4574: fullscreen.patch
| File fullscreen.patch, 676 bytes (added by , 11 years ago) |
|---|
-
libavdevice/xcbgrab.c
diff -rupN c/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c
c b static int create_stream(AVFormatContext 532 532 gc = xcb_get_geometry(c->conn, c->screen->root); 533 533 geo = xcb_get_geometry_reply(c->conn, gc, NULL); 534 534 535 if (c->x + c->width > =geo->width ||536 c->y + c->height > =geo->height) {535 if (c->x + c->width > geo->width || 536 c->y + c->height > geo->height) { 537 537 av_log(s, AV_LOG_ERROR, 538 538 "Capture area %dx%d at position %d.%d " 539 539 "outside the screen size %dx%d\n",
