Merge branch 'development' into LTS_development
# Conflicts: # src/output/output.h
This commit is contained in:
commit
9c25e9fa79
2 changed files with 5 additions and 5 deletions
|
@ -286,15 +286,15 @@ namespace Mist {
|
||||||
currKeyOpen.erase(trackId);
|
currKeyOpen.erase(trackId);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
DEBUG_MSG(DLVL_HIGH, "Loading track %lu, containing key %lld", trackId, keyNum);
|
DEBUG_MSG(DLVL_VERYHIGH, "Loading track %lu, containing key %lld", trackId, keyNum);
|
||||||
unsigned int timeout = 0;
|
unsigned int timeout = 0;
|
||||||
unsigned long pageNum = pageNumForKey(trackId, keyNum);
|
unsigned long pageNum = pageNumForKey(trackId, keyNum);
|
||||||
while (pageNum == -1){
|
while (pageNum == -1){
|
||||||
if (!timeout){
|
if (!timeout){
|
||||||
DEBUG_MSG(DLVL_VERYHIGH, "Requesting page with key %lu:%lld", trackId, keyNum);
|
DEBUG_MSG(DLVL_HIGH, "Requesting page with key %lu:%lld", trackId, keyNum);
|
||||||
}
|
}
|
||||||
if (timeout++ > 100){
|
if (timeout++ > 100){
|
||||||
DEBUG_MSG(DLVL_FAIL, "Timeout while waiting for requested page. Aborting.");
|
DEBUG_MSG(DLVL_FAIL, "Timeout while waiting for requested page %lld for track %lu. Aborting.", keyNum, trackId);
|
||||||
curPage.erase(trackId);
|
curPage.erase(trackId);
|
||||||
currKeyOpen.erase(trackId);
|
currKeyOpen.erase(trackId);
|
||||||
return;
|
return;
|
||||||
|
@ -305,7 +305,7 @@ namespace Mist {
|
||||||
nxtKeyNum[trackId] = 0;
|
nxtKeyNum[trackId] = 0;
|
||||||
}
|
}
|
||||||
stats();
|
stats();
|
||||||
Util::sleep(100);
|
Util::wait(100);
|
||||||
pageNum = pageNumForKey(trackId, keyNum);
|
pageNum = pageNumForKey(trackId, keyNum);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -100,7 +100,7 @@ namespace Mist {
|
||||||
//stream delaying variables
|
//stream delaying variables
|
||||||
unsigned int maxSkipAhead;///< Maximum ms that we will go ahead of the intended timestamps.
|
unsigned int maxSkipAhead;///< Maximum ms that we will go ahead of the intended timestamps.
|
||||||
unsigned int minSkipAhead;///< Minimum ms that we will go ahead of the intended timestamps.
|
unsigned int minSkipAhead;///< Minimum ms that we will go ahead of the intended timestamps.
|
||||||
unsigned int realTime;///< Playback speed times 1000 (1000 == 1.0X). Zero is infinite.
|
unsigned int realTime;///< Playback speed in ms of data per second. eg: 0 is infinite, 1000 real-time, 5000 is 0.2X speed, 500 = 2X speed.
|
||||||
|
|
||||||
//Read/write status variables
|
//Read/write status variables
|
||||||
Socket::Connection & myConn;///< Connection to the client.
|
Socket::Connection & myConn;///< Connection to the client.
|
||||||
|
|
Loading…
Add table
Reference in a new issue