From c2c539e3cc650214404e86183c296d8ff9d95ecd Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 14 Aug 2022 19:26:08 +0530 Subject: [PATCH] videoio: Include missing condition_variable header This fixes the following error with mingw toolchain: opencv/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp:160:10: error: 'condition_variable' in namespace 'std' does not name a type 160 | std::condition_variable streamStateCv_; | ^~~~~~~~~~~~~~~~~~ --- .../videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp b/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp index aa40fe53be..2891ff488a 100644 --- a/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp +++ b/modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp @@ -25,6 +25,8 @@ #include "obsensor_uvc_stream_channel.hpp" +#include + #include #include #include