Disabling vtenc streaming for OSX (could not make it work)

This commit is contained in:
Bruno Herbelin
2022-01-04 14:37:56 +01:00
parent 8f0491ea57
commit 109e6f590a
4 changed files with 7 additions and 7 deletions

View File

@@ -157,7 +157,7 @@ StreamInfo StreamDiscoverer(const std::string &description, guint w, guint h)
// wait for the callback_stream_discoverer to return, no more than 4 sec
std::mutex mtx;
std::unique_lock<std::mutex> lck(mtx);
if ( info.discovered.wait_for(lck,std::chrono::seconds(TIMEOUT*2)) == std::cv_status::timeout)
if ( info.discovered.wait_for(lck,std::chrono::seconds(TIMEOUT)) == std::cv_status::timeout)
info.message = "Time out";
}