diff options
author | foo86 <foo86@users.noreply.github.com> | 2014-07-20 15:05:09 +0400 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-07-20 13:52:06 +0200 |
commit | 6a556f524e21fa2024d68237d2e324b3de93bd83 (patch) | |
tree | 179d99dd6f7acdbcbfbd59bca6fe1fb00ba37047 /input | |
parent | ded02bb78cce4ec6e6f7ffb5a4070024a503f814 (diff) |
input: enable wakeup on LIRC socket
Commit dc00b14 removed playloop polling. Enable wakeup on LIRC socket,
otherwise remote control doesn't work when paused.
Diffstat (limited to 'input')
-rw-r--r-- | input/lirc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/input/lirc.c b/input/lirc.c index 06036b8858..e764929a52 100644 --- a/input/lirc.c +++ b/input/lirc.c @@ -71,7 +71,7 @@ int mp_input_lirc_init(struct input_ctx *ictx, struct mp_log *log, .log = log, .lirc_config = lirc_config, }; - mp_input_add_fd(ictx, lirc_sock, 0, mp_input_lirc_read, NULL, mp_input_lirc_close, ctx); + mp_input_add_fd(ictx, lirc_sock, 1, mp_input_lirc_read, NULL, mp_input_lirc_close, ctx); return lirc_sock; } |