diff options
author | Sebastien Vincent <seb@jitsi.org> | 2011-03-22 14:47:31 +0000 |
---|---|---|
committer | Sebastien Vincent <seb@jitsi.org> | 2011-03-22 14:47:31 +0000 |
commit | da9c15b435855fabe045e3b7129301fb4c289175 (patch) | |
tree | 626492594fb266fc5ddeb94b81c2c01af00c0f9f /src/native/windows | |
parent | 3217331738ac57f067a9efecee874ffcfef1e5b9 (diff) | |
download | jitsi-da9c15b435855fabe045e3b7129301fb4c289175.zip jitsi-da9c15b435855fabe045e3b7129301fb4c289175.tar.gz jitsi-da9c15b435855fabe045e3b7129301fb4c289175.tar.bz2 |
Forgot to commit native code for dropping support of VFW video devices.
Diffstat (limited to 'src/native/windows')
-rw-r--r-- | src/native/windows/directshow/ds_manager.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/native/windows/directshow/ds_manager.cpp b/src/native/windows/directshow/ds_manager.cpp index e397739..e2bff7a 100644 --- a/src/native/windows/directshow/ds_manager.cpp +++ b/src/native/windows/directshow/ds_manager.cpp @@ -147,6 +147,24 @@ void DSManager::initCaptureDevices() DSCaptureDevice* captureDevice = NULL;
IPropertyBag* propertyBag = NULL;
+ {
+ IBaseFilter* cp = NULL;
+ if(!FAILED(moniker->BindToObject(0, 0, IID_IBaseFilter, (void**)&cp)))
+ {
+ IAMVfwCaptureDialogs* vfw = NULL;
+ if(!FAILED(
+ cp->QueryInterface(IID_IAMVfwCaptureDialogs, (void**)&vfw)))
+ {
+ if(vfw)
+ {
+ vfw->Release();
+ cp->Release();
+ continue;
+ }
+ }
+ }
+ }
+
/* get properties of the device */
ret = moniker->BindToStorage(0, 0, IID_IPropertyBag, (void**)&propertyBag);
if(!FAILED(ret))
|