input: enable wakeup on LIRC socket

Commit dc00b14 removed playloop polling. Enable wakeup on LIRC socket,
otherwise remote control doesn't work when paused.
This commit is contained in:
foo86 2014-07-20 15:05:09 +04:00 committed by wm4
parent ded02bb78c
commit 6a556f524e
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}