ffmpeg | branch: master | Daniel Moran <dij...@gmail.com> | Tue Feb 3 22:57:49 2015 -0500| [51ca3cb604a7585a7cff35d4b954794508955c19] | committer: Luca Barbato
xcbgrab: Use the correct geometry for the region highlight The feature is implemented using a transparent window and drawing inside it a rectangle filling the whole window to highlight it. Signed-off-by: Luca Barbato <lu_z...@gentoo.org> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=51ca3cb604a7585a7cff35d4b954794508955c19 --- libavdevice/xcbgrab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavdevice/xcbgrab.c b/libavdevice/xcbgrab.c index 23969c9..57450f2 100644 --- a/libavdevice/xcbgrab.c +++ b/libavdevice/xcbgrab.c @@ -566,7 +566,7 @@ static void setup_window(AVFormatContext *s) uint32_t values[] = { 1, XCB_EVENT_MASK_EXPOSURE | XCB_EVENT_MASK_STRUCTURE_NOTIFY }; - xcb_rectangle_t rect = { c->x, c->y, c->width, c->height }; + xcb_rectangle_t rect = { 0, 0, c->width, c->height }; c->window = xcb_generate_id(c->conn); _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog