[xiph-commits] r18907 - icecast/trunk/icecast/src

dm8tbr at svn.xiph.org dm8tbr at svn.xiph.org
Fri Apr 5 09:43:16 PDT 2013


Author: dm8tbr
Date: 2013-04-05 09:43:16 -0700 (Fri, 05 Apr 2013)
New Revision: 18907

Modified:
   icecast/trunk/icecast/src/format.c
Log:
Add warning when using generic handler for stream sent to Icecast.
All bets are off, we're trying our best using legacy handling code.


Modified: icecast/trunk/icecast/src/format.c
===================================================================
--- icecast/trunk/icecast/src/format.c	2013-04-05 13:20:31 UTC (rev 18906)
+++ icecast/trunk/icecast/src/format.c	2013-04-05 16:43:16 UTC (rev 18907)
@@ -77,7 +77,9 @@
         return FORMAT_TYPE_EBML;
     else
         /* We default to the Generic format handler, which
-           can handle many more formats than just mp3 */
+           can handle many more formats than just mp3.
+	   Let's warn that this is not well supported */
+	WARN1("Unsupported or legacy stream type: \"%s\". Falling back to generic minimal handler for best effort.", contenttype);
         return FORMAT_TYPE_GENERIC;
 }
 



More information about the commits mailing list