File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -50,15 +50,15 @@ class Example : public def::GameEngine
5050 else
5151 return false ;
5252
53- std::vector <std::wstring> devices = mwcc::EnumerateDevices ();
53+ std::list <std::wstring> devices = mwcc::EnumerateDevices ();
5454 mwcc::SetBuffer (buffer);
5555
5656 #elif defined(_WIN32)
5757
5858 if (!capturer.Init (0 , width, height, 30 ))
5959 return false ;
6060
61- std::vector <std::wstring> devices = wwcc::Capturer::EnumerateDevices ();
61+ std::list <std::wstring> devices = wwcc::Capturer::EnumerateDevices ();
6262 capturer.SetBuffer (buffer);
6363
6464 #endif
Original file line number Diff line number Diff line change @@ -222,7 +222,7 @@ namespace wwcc
222222 return true ;
223223 }
224224
225- bool Capturer::CreateDevice (const DWORD nDeviceID)
225+ bool Capturer::CreateDevice (const uint32_t nDeviceID)
226226 {
227227 IMFAttributes* pConfig = nullptr ;
228228 IMFActivate** ppDevices = nullptr ;
You can’t perform that action at this time.
0 commit comments