csrc/wrapper.cpp
@@ -188,7 +188,7 @@ sleep(2); continue; } int wTime = 1000000.0 / in->getFPS() ; wTime >>= 1; logIt("WAIT TIME PER FRAME: %d", wTime); @@ -216,7 +216,7 @@ if (run_worker(in.get(), data, id) == -1){ break; } usleep(wTime); // usleep(wTime); id++; } @@ -225,6 +225,10 @@ } } void Wrapper::SetRecMinCacheTime(const int mind){ rec_->SetRecMinCacheTime(mind); } void Wrapper::BuildRecorder(const char* id, const char *output, const int mindur, const int maxdur, const bool audio){ bool a = audio; if (gb_) a = false;