Adding in a limit on video playback sleep, so we don't get a huge, runaway wait time. Also adding in a kill time when shutdown threads (so we don't wait indefinitely for them to stop)

This commit is contained in:
Jonathan Thomas
2021-11-04 17:33:14 -05:00
parent aee3a44b5b
commit eae3fb130d
3 changed files with 15 additions and 11 deletions

View File

@@ -897,7 +897,7 @@ std::shared_ptr<Frame> Timeline::GetFrame(int64_t requested_frame)
final_cache->Add(new_frame);
// Return frame (or blank frame)
return final_cache->GetFrame(requested_frame);
return new_frame;
}
}