summaryrefslogtreecommitdiffstats
path: root/input
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-07-29 21:53:23 +0200
committerwm4 <wm4@nowhere>2012-07-30 01:46:04 +0200
commit6d6ae638fa0a6f00c8e964be5b966546b8f77834 (patch)
tree690287e5e4196388eafec06e472f2eabd24a3d2b /input
parentd86216685bc6d2d86b59f7e877f4e4a4c2f12107 (diff)
downloadmpv-6d6ae638fa0a6f00c8e964be5b966546b8f77834.tar.bz2
mpv-6d6ae638fa0a6f00c8e964be5b966546b8f77834.tar.xz
lirc: silence output in case LIRC can't be opened
By default mplayer attempts to use LIRC. If LIRC can't be opened, a bunch of warnings are printed. Since mplayer is often built with LIRC enabled by default, many users will see these rather pointless warnings. Lower verbosity, so that the warnings are not visible by default anymore.
Diffstat (limited to 'input')
-rw-r--r--input/lirc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/input/lirc.c b/input/lirc.c
index 490abe2cb1..23454d6aee 100644
--- a/input/lirc.c
+++ b/input/lirc.c
@@ -41,8 +41,8 @@ mp_input_lirc_init(void) {
int mode;
mp_tmsg(MSGT_LIRC,MSGL_V,"Setting up LIRC support...\n");
- if((lirc_sock=lirc_init("mplayer",1))==-1){
- mp_tmsg(MSGT_LIRC,MSGL_ERR,"Failed to open LIRC support. You will not be able to use your remote control.\n");
+ if((lirc_sock=lirc_init("mplayer",0))==-1){
+ mp_tmsg(MSGT_LIRC,MSGL_V,"Failed to open LIRC support. You will not be able to use your remote control.\n");
return -1;
}