ffmpeg/libavdevice
Antonio Ospite 69c34a6ac9 avdevice/x11grab: fix cursor drawing in multi-screen setup
The code uses XFixes to retrieve the cursor coordinates, but XFixes
gives no information of what screen the pointer is on; this results in
always drawing the cursor on the captured screen even if the mouse
pointer was on another screen.

For example, when capturing from screen 1 (i.e. -f x11grab -i ":0.1")
the cursor was being drawn in the captured image even when the mouse
pointer was actually on screen 0, which is wrong and visually confusing.

Use XQueryPointer to check that the pointer is actually on the screen
which is being captured.

Signed-off-by: Antonio Ospite <ao2@ao2.it>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2014-09-09 02:22:06 +02:00
..
Makefile Merge commit 'd6e1d37100af568211f28ec0bcf7958a3a2a299e' 2014-07-19 13:39:12 +02:00
alldevices.c Add AVFoundation input device. 2014-04-11 17:51:33 +02:00
alsa-audio-common.c
alsa-audio-dec.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
alsa-audio-enc.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
alsa-audio.h
avdevice.c lavd: no default device unless explicitly set 2014-04-12 19:14:57 +02:00
avdevice.h Various small spelling fixes. 2014-04-22 20:44:31 +02:00
avdeviceres.rc
avfoundation.m lavd/avfoundation: Add device category. 2014-08-05 01:36:26 +02:00
bktr.c Add missing "const" all over the place. 2014-08-29 18:57:25 +02:00
caca.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
decklink_enc.cpp
decklink_enc.h
decklink_enc_c.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
dshow.c lavd/dshow: use av_codec_get_id() 2014-08-07 13:03:17 +02:00
dshow_capture.h dshow: show device name when outputting buffer overflow log message 2014-03-28 00:22:55 +01:00
dshow_common.c
dshow_enummediatypes.c dshow: fixup some COM objects, based on patches from Don Moir 2014-03-31 23:11:35 +02:00
dshow_enumpins.c
dshow_filter.c
dshow_pin.c dshow: show device name when outputting buffer overflow log message 2014-03-28 00:22:55 +01:00
dv1394.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
dv1394.h
fbdev_common.c lavd/fbdev_enc: move list device code to fbdev_common 2014-04-30 00:35:42 +02:00
fbdev_common.h lavd/fbdev_enc: move list device code to fbdev_common 2014-04-30 00:35:42 +02:00
fbdev_dec.c Merge commit 'c0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46' 2014-07-18 21:48:37 +02:00
fbdev_enc.c lavd/fbdev_enc: move list device code to fbdev_common 2014-04-30 00:35:42 +02:00
file_open.c
gdigrab.c gdigrab: fix gdi object leak if using mouse 2014-08-19 16:07:28 +02:00
iec61883.c lavf/mpegts: rename ff_mpegts_parse_*() to avpriv_mpegts_parse_*() 2014-08-07 04:28:11 +02:00
jack_audio.c Merge commit 'c0de9159a7ba5707aa0a5c2bc73ae78b7b87ec46' 2014-07-18 21:48:37 +02:00
lavfi.c avdevice/lavfi: Simplify non-AV stream check 2014-08-07 15:41:17 +02:00
libavdevice.v
libcdio.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
libdc1394.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
openal-dec.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
opengl_enc.c Add missing "const" all over the place. 2014-08-29 18:57:25 +02:00
opengl_enc_shaders.h
oss_audio.c avdevice/oss_audio: Check SNDCTL_DSP_GETFMTS failure, print a warning but continue 2014-07-31 21:19:15 +02:00
oss_audio.h Merge commit 'd6e1d37100af568211f28ec0bcf7958a3a2a299e' 2014-07-19 13:39:12 +02:00
oss_audio_dec.c Merge commit 'd6e1d37100af568211f28ec0bcf7958a3a2a299e' 2014-07-19 13:39:12 +02:00
oss_audio_enc.c Merge commit 'd6e1d37100af568211f28ec0bcf7958a3a2a299e' 2014-07-19 13:39:12 +02:00
pulse_audio_common.c lavd/pulse_audio_common: add context helper functions 2014-04-18 01:42:17 +02:00
pulse_audio_common.h lavd/pulse_audio_common: add context helper functions 2014-04-18 01:42:17 +02:00
pulse_audio_dec.c Merge commit '424b929b5cb9ca4094099f25179829260d4b0fa3' 2014-08-24 21:33:59 +02:00
pulse_audio_enc.c avdevice/pulse_audio_enc: use getter function for AVFrame.channels 2014-07-28 20:06:11 +02:00
qtkit.m avdevice/qtkit: fix include 2014-04-24 05:12:07 +02:00
sdl.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
sndio_common.c
sndio_common.h
sndio_dec.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
sndio_enc.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
timefilter.c
timefilter.h
v4l.c lavd: add categories to device implementations 2014-03-03 23:34:46 +01:00
v4l2-common.c
v4l2-common.h
v4l2.c lavd/v4l2: introduce enqueue_buffer() 2014-09-06 00:05:59 +02:00
v4l2enc.c v4l2enc: adding AVClass 2014-07-31 18:59:20 +02:00
version.h Merge commit '1985c2e75c607ac51bfd8dc87d2957a5edf2b6f8' 2014-08-10 00:26:45 +02:00
vfwcap.c Merge commit 'ab56fabe6294524e99815451ad01e4ff50c6d734' 2014-08-26 12:22:55 +02:00
x11grab.c avdevice/x11grab: fix cursor drawing in multi-screen setup 2014-09-09 02:22:06 +02:00
xv.c xv.c: Add missing const to lookup table. 2014-08-30 18:02:45 +02:00