xcbgrab: Validate the capture area
authorLuca Barbato <lu_zero@gentoo.org>
Sat, 14 Mar 2015 11:30:11 +0000 (12:30 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 15 May 2015 08:04:50 +0000 (10:04 +0200)
commit9ccaeff67a3b0f75f7f25c39c5d373b560dcfb19
tree4c53ba3c2987323cb7c3b2bc114fbfa0ea317ef0
parent4a46a29b07c41630c0e5eb68747feabed7607fd0
xcbgrab: Validate the capture area

And notify why the capture is impossible.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
(cherry picked from commit e8c4db0d4d07738fed716b1d2f20c85aac944641)

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