diff options
Diffstat (limited to 'mpvcore')
-rw-r--r-- | mpvcore/input/input.c | 13 | ||||
-rw-r--r-- | mpvcore/options.c | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/mpvcore/input/input.c b/mpvcore/input/input.c index c5d23396af..18b254d17b 100644 --- a/mpvcore/input/input.c +++ b/mpvcore/input/input.c @@ -58,10 +58,6 @@ #include "lirc.h" #endif -#if HAVE_LIRCC -#include <lirc/lircc.h> -#endif - #if HAVE_COCOA #include "osdep/macosx_events.h" #endif @@ -638,7 +634,6 @@ const m_option_t mp_input_opts[] = { OPT_INTRANGE("doubleclick-time", input.doubleclick_time, 0, 0, 1000), OPT_FLAG("joystick", input.use_joystick, CONF_GLOBAL), OPT_FLAG("lirc", input.use_lirc, CONF_GLOBAL), - OPT_FLAG("lircc", input.use_lircc, CONF_GLOBAL), OPT_FLAG("right-alt-gr", input.use_alt_gr, CONF_GLOBAL), #if HAVE_COCOA OPT_FLAG("ar", input.use_ar, CONF_GLOBAL), @@ -2409,14 +2404,6 @@ struct input_ctx *mp_input_init(struct mpv_global *global) } #endif -#if HAVE_LIRCC - if (input_conf->use_lircc) { - int fd = lircc_init("mpv", NULL); - if (fd >= 0) - mp_input_add_cmd_fd(ictx, fd, 1, NULL, lircc_cleanup); - } -#endif - if (input_conf->use_alt_gr) { ictx->using_alt_gr = true; } diff --git a/mpvcore/options.c b/mpvcore/options.c index 1a76aa9bf3..493c968243 100644 --- a/mpvcore/options.c +++ b/mpvcore/options.c @@ -874,7 +874,6 @@ const struct MPOpts mp_default_opts = { .ar_rate = 40, .use_joystick = 1, .use_lirc = 1, - .use_lircc = 1, .use_alt_gr = 1, #if HAVE_COCOA .use_ar = 1, |