[Freeswitch-svn] [commit] r13186 - freeswitch/trunk/src/mod/formats/mod_local_stream

FreeSWITCH SVN anthm at freeswitch.org
Tue Apr 28 20:24:53 PDT 2009


Author: anthm
Date: Tue Apr 28 22:24:53 2009
New Revision: 13186

Log:
fail over to default if desired stream is not found

Modified:
   freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c

Modified: freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c
==============================================================================
--- freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	(original)
+++ freeswitch/trunk/src/mod/formats/mod_local_stream/mod_local_stream.c	Tue Apr 28 22:24:53 2009
@@ -318,7 +318,7 @@
 		}
 	} else {
 		if (!switch_stristr("default", alt_path) && !switch_stristr("default", path)) {
-			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_ERROR, "Unknown source %s, trying 'default'\n", path);
+			switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Unknown source %s, trying 'default'\n", path);
 			free(alt_path);
 			path = "default";
 			goto top;



More information about the Freeswitch-svn mailing list