Outputs no longer wait for data on non-live streams

This commit is contained in:
Thulinma 2017-01-31 14:56:14 +01:00
parent 29669f24c4
commit a6731c3749

View file

@ -617,7 +617,7 @@ namespace Mist{
}else{ }else{
VERYHIGH_MSG("Track %d no data (key %u @ %u) - waiting...", tid, getKeyForTime(tid, pos) + (getNextKey?1:0), tmp.offset); VERYHIGH_MSG("Track %d no data (key %u @ %u) - waiting...", tid, getKeyForTime(tid, pos) + (getNextKey?1:0), tmp.offset);
unsigned int i = 0; unsigned int i = 0;
while (nProxy.curPage[tid].mapped[tmp.offset] == 0 && ++i <= 10){ while (!myMeta.live && nProxy.curPage[tid].mapped[tmp.offset] == 0 && ++i <= 10){
Util::wait(100*i); Util::wait(100*i);
stats(); stats();
} }