1
0
mirror of https://gitlab.xiph.org/xiph/icecast-server.git synced 2024-06-23 06:25:24 +00:00

Add warning when using generic handler for stream sent to Icecast.

All bets are off, we're trying our best using legacy handling code.

svn path=/icecast/trunk/icecast/; revision=18907
This commit is contained in:
Thomas B. "dm8tbr" Ruecker 2013-04-05 16:43:16 +00:00
parent f19107adc7
commit ff4649bc49

View File

@ -77,7 +77,9 @@ format_type_t format_get_type (const char *contenttype)
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;
}