added mutex to items

This commit is contained in:
itsmattkc
2019-07-07 23:35:34 -05:00
parent 06f195eca1
commit 7b870de338
3 changed files with 20 additions and 0 deletions
+4
View File
@@ -34,7 +34,11 @@ ProbeTask::ProbeTask(FootagePtr footage) :
bool ProbeTask::Action()
{
footage_->Lock();
olive::ProbeMedia(footage_.get());
footage_->Unlock();
return true;
}