Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2016-06-10 14:25:22 +02:00
commit e4de779846

View file

@ -919,7 +919,7 @@ namespace Mist {
MEDIUM_MSG("Initial seek to %llums", seekPos); MEDIUM_MSG("Initial seek to %llums", seekPos);
seek(seekPos); seek(seekPos);
} }
void Output::requestHandler(){ void Output::requestHandler(){
static bool firstData = true;//only the first time, we call onRequest if there's data buffered already. static bool firstData = true;//only the first time, we call onRequest if there's data buffered already.
if ((firstData && myConn.Received().size()) || myConn.spool()){ if ((firstData && myConn.Received().size()) || myConn.spool()){