Have MistInTS set the BootMsOffset correctly for live inputs

This commit is contained in:
Thulinma 2021-05-13 17:34:42 +02:00
parent 2ffd320316
commit aa77d86df1

View file

@ -117,6 +117,7 @@ void parseThread(void *mistIn){
}
}
lastTimeStamp = adjustTime;
if (!meta.getBootMsOffset()){meta.setBootMsOffset(Util::bootMS() - adjustTime);}
{
tthread::lock_guard<tthread::mutex> guard(threadClaimMutex);
//If the main thread's local metadata doesn't have this track yet, reload metadata