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_;
      |          ^~~~~~~~~~~~~~~~~~
pull/22377/head
Biswapriyo Nath 3 years ago committed by GitHub
parent d09cc0f30c
commit c2c539e3cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      modules/videoio/src/cap_obsensor/obsensor_stream_channel_msmf.hpp

@ -25,6 +25,8 @@
#include "obsensor_uvc_stream_channel.hpp"
#include <condition_variable>
#include <windows.h>
#include <guiddef.h>
#include <mfapi.h>

Loading…
Cancel
Save