OSDN Git Service

avdevice/xcbgrab: Fix show_region rectangle
authorDaniel Moran <dijumx@gmail.com>
Sat, 6 Dec 2014 23:48:13 +0000 (23:48 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 7 Dec 2014 15:13:30 +0000 (16:13 +0100)
commit0ae37e460c345a4c76e28256af56931e00c94cb5
tree167bbb30a91599e84400939086c211aa91a740d0
parent6153aa2d1e41212672dfd5543a7bda9079a0160c
avdevice/xcbgrab: Fix show_region rectangle

Fixes trac ticket #4164

This is to address an error when using show_region, which would cause part of the captured area to become static.
It looks like the rectangle specifying the capture area was relative to the capture window.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavdevice/xcbgrab.c