Commit Graph

24 Commits

Author SHA1 Message Date
markus
6b18ea4474 Using CoInitializeEx(NULL, COINIT_APARTMENTTHREADED) to be compatible with Java 17. 2023-05-18 14:30:29 +02:00
markus
3bec8e354f Avoid double Release() in FindCaptureDevice().
This fixes a semantic conflict from merging 5e8b963c27 using ScopedComPtr<> and 58d4be4d7d using explicit Release().
2023-04-12 14:52:37 +02:00
Jason von Nieda
c57d02b1ee (Hopefully) fix my bad merge. 2022-03-17 16:38:34 -05:00
Jason von Nieda
438c7a0b4d
Merge branch 'master' into wine_support 2022-03-17 14:55:17 -05:00
Jason von Nieda
f9304e1be3
Merge pull request #52 from sandman42292/fix_resource_leak
Release resources correctly for Windows
2022-03-17 14:48:27 -05:00
sandman42292
4e363a63de remove warnings 2021-11-22 22:17:02 +09:00
sandman42292
5e8b963c27 add fallback device path with device index feature 2021-11-22 21:58:29 +09:00
sandman42292
384cfe9363 remove redundant enum pins checking 2021-11-22 21:58:29 +09:00
sandman42292
58d4be4d7d release resources correctly 2021-11-21 23:43:11 +09:00
zhangkun(company)
1624306967 [Windows] Do not keep moniker in platformDeviceInfo 2020-12-30 18:21:45 +08:00
Niels Moseley
e0dedb06e4 Changed windows CreatePlatformContext COM error into a warning, which it is.. 2017-11-16 17:36:17 +01:00
Niels Moseley
e04312224e Merge pull request #23 from PeeJay/streaming
Misc cleanups
2017-10-16 22:02:53 +02:00
Paul Jones
0bae8135e9 Add licence text where missing
Signed-off-by: Paul Jones <paul@pauljones.id.au>
2017-10-16 13:06:39 +11:00
Niels Moseley
33da1da2ce Fixed bug in Win:setProperty() that returns an undefined status code. Updated QtCaptureText to include more camera properties. 2017-10-06 00:46:49 +02:00
Niels Moseley
00630b2723 Added Cap_getDeviceUniqueID() to C API for getting a decorated device name to (hopefully) uniquely ID a camera. Still needs Linux updates. 2017-08-02 21:51:19 +02:00
Niels Moseley
82faea124a removed experimental Media Foundation code from Windows platform 2017-08-01 01:52:14 +02:00
Niels Moseley
271b75d9b0 Unified the focus/exposure/zoom interface to three get/set calls. 2017-08-01 01:49:24 +02:00
Niels Moseley
c4a9bc27c4 * Stream::submitBuffer is now virtual so platforms can implement their frame buffer conversion routines there. (note: might be useful to have deferred conversion later on).
* Added const to bitmap pointer in Stream::submitBuffer to make clear that it should not modify the buffer.
* Added saving of frames using 'w' key in windows test program.
2017-07-17 17:22:28 +02:00
Niels Moseley
13cf37160e updated windows-specific frame format code and test program. 2017-07-12 23:24:43 +02:00
Niels Moseley
9416f72ce7 Update for windows-specific frame format enumeration. Needs refactoring. 2017-07-12 22:24:21 +02:00
Niels Moseley
58f882aef5 Added windows-specific frame buffer enumeration functions. 2017-07-12 18:11:51 +02:00
Niels Moseley
176f8423d0 Added more platform separation between libmain.cpp, Context and PlatformContext. 2017-07-11 16:17:44 +02:00
Niels Moseley
b4c384ce45 Changed m_devices from containing DeviceInfo to DeviceInfo* to allow better separation between platform dependent code. 2017-07-11 15:45:50 +02:00
Niels Moseley
8839e04459 Created platform dependent and independent classes for better separation.
Platform independent stuff is now in 'common', while the platform dependent stuff is in the corresponding platform directory (win, linux mac).
2017-07-11 00:49:29 +02:00