minor render thread refactor

This commit is contained in:
itsmattkc
2019-03-03 12:17:55 -08:00
parent 2b406d71f2
commit 7af3a0cd6e
6 changed files with 173 additions and 134 deletions
+5 -4
View File
@@ -749,10 +749,11 @@ void Cacher::WakeMainThread()
main_thread_lock_.unlock();
}
Cacher::Cacher(Clip* c) : clip(c) {
frame_ = nullptr;
pkt = nullptr;
}
Cacher::Cacher(Clip* c) :
clip(c),
frame_(nullptr),
pkt(nullptr)
{}
void Cacher::OpenWorker() {
qint64 time_start = QDateTime::currentMSecsSinceEpoch();