mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-03 17:30:37 +00:00
[mod_shout] Reduce log level from error to warning for "Error opening %s (invalid rate or channel count)"
This commit is contained in:
parent
3089e8e548
commit
b31c47eab7
@ -736,7 +736,7 @@ static switch_status_t shout_file_open(switch_file_handle_t *handle, const char
|
|||||||
mpg123_getformat(context->mh, &rate, &channels, &encoding);
|
mpg123_getformat(context->mh, &rate, &channels, &encoding);
|
||||||
|
|
||||||
if (!channels || !rate) {
|
if (!channels || !rate) {
|
||||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Error opening %s (invalid rate or channel count)\n", path);
|
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Error opening %s (invalid rate or channel count)\n", path);
|
||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user