From 06d19dac57d9c621a1defd545b6e07ac0dfaa893 Mon Sep 17 00:00:00 2001 From: Nir Azkiel Date: Thu, 30 May 2024 12:26:13 +0300 Subject: [PATCH] try sleep before stream on --- src/uvc-sensor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/uvc-sensor.cpp b/src/uvc-sensor.cpp index 847647f7362..25167234cb8 100644 --- a/src/uvc-sensor.cpp +++ b/src/uvc-sensor.cpp @@ -292,6 +292,8 @@ void uvc_sensor::open( const stream_profiles & requests ) try { + LOG_DEBUG("sleeping"); + std::this_thread::sleep_for(std::chrono::milliseconds(100)); _device->stream_on( [&]( const notification & n ) { _notifications_processor->raise_notification( n ); } ); } catch( ... )