summaryrefslogtreecommitdiff
path: root/audio/xmms-liveice/patches/patch-aa
blob: c94afc29e3ea7dce9469b14fac8d010465ca2d3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.1.1.1 2003/06/01 12:27:43 jmmv Exp $

--- src/liveice.c.orig	2000-05-14 21:42:20.000000000 +0200
+++ src/liveice.c
@@ -167,7 +167,7 @@ static void init(void)
 			if(!xmms_cfg_read_string(cfg, "LiveIce", "description", &lv_conf.description))
 				lv_conf.description=g_strdup("Music from XMMS");
 			if(!xmms_cfg_read_string(cfg, "LiveIce", "encoder_path", &lv_conf.encoder_path))
-				lv_conf.encoder_path=g_strdup("lame");
+				lv_conf.encoder_path=g_strdup(LAME);
 			
 			if(!xmms_cfg_read_string(cfg, "LiveIce", "remote_dumpfile", &lv_conf.remote_dumpfile))
 			        lv_conf.encoder_path=g_strdup("liveice_xmms.mp3");
@@ -182,7 +182,7 @@ static void init(void)
 			lv_conf.genre=g_strdup("live");
 			lv_conf.url=g_strdup("http://www.icecast.org");
 			lv_conf.description=g_strdup("Music from XMMS");
-			lv_conf.encoder_path=g_strdup("lame");
+			lv_conf.encoder_path=g_strdup(LAME);
 			lv_conf.remote_dumpfile=g_strdup("liveice_xmms.mp3");
 		}
 		g_free(filename);