summaryrefslogtreecommitdiffstats
path: root/libvo/vo_xv.c
diff options
context:
space:
mode:
authorUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-04 03:26:33 +0300
committerUoti Urpala <uau@symbol.nonexistent.invalid>2008-04-23 13:41:04 +0300
commite5e8effca82c24cdf4e15f91cc6fe29893ac0675 (patch)
tree5f789b732fc23cab78c35b74a56155ecc5095325 /libvo/vo_xv.c
parent1f086d4376897683194530f7dfc24a42c3eca908 (diff)
downloadmpv-e5e8effca82c24cdf4e15f91cc6fe29893ac0675.tar.bz2
mpv-e5e8effca82c24cdf4e15f91cc6fe29893ac0675.tar.xz
Add a context argument to mp_input_add_event_fd callback
Diffstat (limited to 'libvo/vo_xv.c')
-rw-r--r--libvo/vo_xv.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libvo/vo_xv.c b/libvo/vo_xv.c
index 511602dfc4..4b66392b19 100644
--- a/libvo/vo_xv.c
+++ b/libvo/vo_xv.c
@@ -689,7 +689,8 @@ static void uninit(void)
#ifdef HAVE_XF86VM
vo_vm_close(mDisplay);
#endif
- mp_input_rm_event_fd(ConnectionNumber(mDisplay));
+// Temporarily disabled until next commit
+// mp_input_rm_event_fd(ConnectionNumber(mDisplay));
vo_x11_uninit();
}
@@ -811,7 +812,8 @@ static int preinit(const char *arg)
fo = XvListImageFormats(mDisplay, xv_port, (int *) &formats);
- mp_input_add_event_fd(ConnectionNumber(mDisplay), check_events);
+// Temporarily disabled until next commit changes check_events parameters
+// mp_input_add_event_fd(ConnectionNumber(mDisplay), check_events);
return 0;
}