[xiph-commits] r9418 - icecast/trunk/icecast/src
karl at motherfish-iii.xiph.org
karl at motherfish-iii.xiph.org
Thu Jun 9 06:29:14 PDT 2005
Author: karl
Date: 2005-06-09 06:29:11 -0700 (Thu, 09 Jun 2005)
New Revision: 9418
Modified:
icecast/trunk/icecast/src/source.c
Log:
don't be too quick when dealing with files. allow the limited per-client
loop but don't trigger a small poll timeout
Modified: icecast/trunk/icecast/src/source.c
===================================================================
--- icecast/trunk/icecast/src/source.c 2005-06-09 13:05:02 UTC (rev 9417)
+++ icecast/trunk/icecast/src/source.c 2005-06-09 13:29:11 UTC (rev 9418)
@@ -499,7 +499,8 @@
sleep for too long if more data can be sent */
if (total_written > 20000 || loop == 0)
{
- source->short_delay = 1;
+ if (client->check_buffer != format_check_file_buffer)
+ source->short_delay = 1;
break;
}
More information about the commits
mailing list