Fix in ogg, prevents 100% CPU load

This commit is contained in:
Erik Zandvliet 2014-01-21 12:34:27 +01:00
parent 390be45914
commit 8be1c1a108

View file

@ -136,6 +136,7 @@ namespace Connector_HTTP {
} }
if (Strm.lastType() == DTSC::PAUSEMARK){ if (Strm.lastType() == DTSC::PAUSEMARK){
conn.close(); conn.close();
ss.close();
//last page output //last page output
} }
if (Strm.lastType() == DTSC::INVALID){ if (Strm.lastType() == DTSC::INVALID){
@ -146,7 +147,7 @@ namespace Connector_HTTP {
} }
} }
}else{ }else{
Util::sleep(1); Util::sleep(100);
} }
if ( !ss.connected()){ if ( !ss.connected()){
break; break;