From a6731c3749d235a954f0a70f985cb32375d69e13 Mon Sep 17 00:00:00 2001 From: Thulinma Date: Tue, 31 Jan 2017 14:56:14 +0100 Subject: [PATCH] Outputs no longer wait for data on non-live streams --- src/output/output.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output/output.cpp b/src/output/output.cpp index 06acd751..e17dcff0 100644 --- a/src/output/output.cpp +++ b/src/output/output.cpp @@ -617,7 +617,7 @@ namespace Mist{ }else{ VERYHIGH_MSG("Track %d no data (key %u @ %u) - waiting...", tid, getKeyForTime(tid, pos) + (getNextKey?1:0), tmp.offset); 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); stats(); }