shout: fixed bad error message printout
This commit is contained in:
parent
37796699cf
commit
4674d0442a
@ -203,9 +203,9 @@ static void *my_shout_init_driver(struct audio_output *audio_output,
|
|||||||
}
|
}
|
||||||
|
|
||||||
sd->encoder = shout_encoder_plugin_get(encoding);
|
sd->encoder = shout_encoder_plugin_get(encoding);
|
||||||
if (sd->encoder == NULL)
|
if (sd->encoder == NULL) {
|
||||||
g_error("couldn't find shout encoder plugin for \"%s\" "
|
g_error("couldn't find shout encoder plugin for \"%s\"\n", encoding);
|
||||||
"at line %i\n", encoding, block_param->line);
|
}
|
||||||
|
|
||||||
block_param = getBlockParam(param, "protocol");
|
block_param = getBlockParam(param, "protocol");
|
||||||
if (block_param) {
|
if (block_param) {
|
||||||
|
Loading…
Reference in New Issue
Block a user