mpv/libvo
Uoti Urpala 4f610adfc2 libvo: register X11 connection fd in input event system
Register the X11 connection fd in the input system so that
mp_input_get_cmd() can immediately wake up and handle keyboard or
other X events. The callback calls vo_check_events() and tells the
input system to handle any input possibly recorded during that. Before
this was done for vo_xv only; this commit generalizes it to all VOs
that call vo_x11_create_vo_window() - those are hopefully ones that
will handle all X events in check_events().

The callback is only kept registered while the vo is properly
configured. At other times calling check_events() would not clear
pending input and so could lead to a busy loop.
2010-12-14 22:33:12 +02:00
..
aclib.c
aclib_template.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
aspect.c aspect.c: use fallback if screen dimensions are not known 2010-11-02 04:18:09 +02:00
aspect.h
aspecttest.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
csputils.c vo_gl, csputils: dual-license under LGPL v2.1 2010-11-02 04:07:42 +02:00
csputils.h vo_gl, csputils: dual-license under LGPL v2.1 2010-11-02 04:07:42 +02:00
fastmemcpy.h Fix compilation with --disable-fastmemcpy on x86 2010-05-11 09:23:31 +00:00
font_load.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
font_load.h Merge svn changes up to r30216 2010-01-08 02:39:39 +02:00
font_load_ft.c cleanup: don't check for NULL before free() 2010-11-08 18:05:12 +02:00
geometry.c Add support for -geometry x syntax since the documentation claims 2010-06-05 06:28:58 +00:00
geometry.h
gl_common.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
gl_common.h vo_gl: add helper macros to build the yuv conversion type number 2010-11-02 04:14:44 +02:00
gtf.c cosmetics: Remove pointless empty lines at EOF. 2010-02-20 21:02:49 +00:00
gtf.h
jpeg_enc.c Add central init_avcodec() to avoid duplicated libavcodec init code 2010-11-02 04:15:51 +02:00
jpeg_enc.h
matrixview.c Add mpgl prefix to all OpenGL-related function pointers. 2010-04-03 07:08:07 +00:00
matrixview.h
matrixview_font.h
mga_template.c vo_mga: minor code cleanup 2010-11-02 04:18:09 +02:00
old_vo_defines.h
old_vo_wrapper.c
old_vo_wrapper.h
osd.c Add missing RGB12 version of the fast OSD table. 2010-05-26 00:47:22 +00:00
osd.h Add support for 12-bit color mode on framebuffer devices. 2010-05-06 10:18:25 +00:00
osd_font.h
osd_template.c
osx_common.c Merge svn changes up to r31097 2010-04-26 19:23:32 +03:00
osx_common.h Refactor OS X foreground process setting into a separate function. 2010-03-26 15:02:14 +00:00
sdl_common.c SDL input: add missing 0-termination of keymap file 2010-11-02 04:07:42 +02:00
sdl_common.h Add comment for endif. 2010-04-25 15:39:22 +00:00
spuenc.c Move struct typedef pixbuf into the only .c file where it is used. 2010-02-16 19:39:30 +00:00
spuenc.h Move struct typedef pixbuf into the only .c file where it is used. 2010-02-16 19:39:30 +00:00
sub.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
sub.h
vdpau_template.c
vesa_lvo.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vesa_lvo.h vesa_lvo.c: make functions static 2010-11-02 04:16:56 +02:00
video_out.c libvo: register X11 connection fd in input event system 2010-12-14 22:33:12 +02:00
video_out.h libvo: register X11 connection fd in input event system 2010-12-14 22:33:12 +02:00
video_out_internal.h
videodev_mjpeg.h
vo_3dfx.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
vo_aa.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_bl.c
vo_caca.c vo_caca: Update URL to patch for new API support 2010-11-02 04:16:55 +02:00
vo_corevideo.h vo_corevideo.h: Add standard multiple inclusion guards 2010-11-02 04:16:46 +02:00
vo_corevideo.m cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_cvidix.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_dfbmga.c build: update DirectFB requirements, reduce #ifdefs 2010-11-02 04:16:55 +02:00
vo_dga.c
vo_direct3d.c Merge svn changes up to r30195 2010-01-08 02:06:42 +02:00
vo_directfb2.c vo_vesa, vo_directfb2: Replace local min/max macros by FFMIN/FFMAX 2010-11-02 04:16:55 +02:00
vo_directx.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_dxr2.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_dxr3.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_fbdev.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_fbdev2.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_ggi.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_gif89a.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_gl.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_gl2.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_ivtv.c ao_ivtv: Add header for ivtv_write() instead of forward declaring it 2010-11-02 04:09:18 +02:00
vo_ivtv.h vo_ivtv; Move ivtv_fd extern variable declaration to vo_ivtv.h 2010-11-02 04:16:46 +02:00
vo_jpeg.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_kva.c vo_kva: Restore all the attributes after changing aspect ratio 2010-11-07 21:49:51 +02:00
vo_matrixview.c Merge svn changes up to r30967 2010-04-26 17:42:20 +03:00
vo_md5sum.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_mga.c vo_mga: Rename libvo/mga_common.c --> libvo/mga_template.c 2010-11-02 04:10:26 +02:00
vo_mpegpes.c ao_mpegpes,vo_mpegpes: Rename vo_mpegpes_fd2 variable to ao_mpegpes_fd 2010-11-02 04:16:46 +02:00
vo_null.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
vo_png.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
vo_pnm.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_quartz.c vo_corevideo, vo_quartz: remove useless kQuitCmd 2010-11-02 04:14:45 +02:00
vo_s3fb.c libvo: Mark functions not used outside of their files as static. 2010-02-16 16:22:17 +00:00
vo_sdl.c Merge svn changes up to r31097 2010-04-26 19:23:32 +03:00
vo_svga.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_tdfx_vid.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
vo_tdfxfb.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
vo_tga.c vo_tga: specify 15 bpp tga format endianness 2010-11-02 04:14:44 +02:00
vo_v4l2.c Merge svn changes up to r30694 2010-03-10 01:01:15 +02:00
vo_v4l2.h vo_v4l2: Move v4l2_fd extern declaration to vo_v4l2.h 2010-11-02 04:16:46 +02:00
vo_vdpau.c vo_vdpau: remove wrong mp_image usage_count change (no visible effect) 2010-12-13 18:50:22 +02:00
vo_vesa.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_wii.c Merge svn changes up to r30967 2010-04-26 17:42:20 +03:00
vo_winvidix.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_x11.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
vo_xmga.c vo_xmga: Remove an unmotivated and pointless panscan_calc call 2010-11-02 04:18:09 +02:00
vo_xover.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_xv.c libvo: register X11 connection fd in input event system 2010-12-14 22:33:12 +02:00
vo_xvidix.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_xvmc.c libvo: remove UNUSED() macros 2010-11-02 04:18:08 +02:00
vo_xvr100.c
vo_yuv4mpeg.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_zr.c cleanup: remove NULL checks before free() all over the code 2010-11-14 13:11:20 +02:00
vo_zr.h Add header for functions exported from vo_zr.c and use it appropriately. 2010-02-18 10:19:42 +00:00
vo_zr2.c
vosub_vidix.c Delete things related to old translation system 2010-03-10 03:47:14 +02:00
vosub_vidix.h
w32_common.c vo_gl: create stereo-capable window when using Quadbuffer 3D 2010-11-14 12:32:00 +02:00
w32_common.h
wskeys.h
x11_common.c libvo: register X11 connection fd in input event system 2010-12-14 22:33:12 +02:00
x11_common.h x11_common.h: remove some unused declarations 2010-11-02 04:14:43 +02:00