From 8493d8711b33aec7ffc7dbb10df3f49b2fcc1186 Mon Sep 17 00:00:00 2001 From: acki2 Date: Sun, 17 Jun 2001 20:38:02 +0000 Subject: - new config option -lircconfig (config file for lirc) - new config option -(no)double (disable/enable doublebuffering in libvo) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1150 b3059339-0415-0410-9bf9-f77b7e298cf2 --- lirc_mp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'lirc_mp.c') diff --git a/lirc_mp.c b/lirc_mp.c index 0761666d1f..faad8a7827 100644 --- a/lirc_mp.c +++ b/lirc_mp.c @@ -28,6 +28,7 @@ static struct lirc_config *lirc_config; static int lirc_is_setup = 0; +char *lirc_configfile = NULL; // setup routine --------------------------------------------------- @@ -57,8 +58,9 @@ void lirc_mp_setup(void){ } - if(lirc_readconfig( NULL,&lirc_config,NULL )!=0 ){ - printf("Failed to read standard config (~/.lircrc)!\n" ); + if(lirc_readconfig( lirc_configfile,&lirc_config,NULL )!=0 ){ + printf("Failed to read config file %s !\n", + lirc_configfile == NULL ? "~/.lircrc" : lirc_configfile); printf("You won't be able to use your remote control\n"); lirc_deinit(); return; -- cgit v1.2.3