aboutsummaryrefslogtreecommitdiffstats
path: root/src/native/windows
diff options
context:
space:
mode:
authorSebastien Vincent <seb@jitsi.org>2011-03-04 12:41:08 +0000
committerSebastien Vincent <seb@jitsi.org>2011-03-04 12:41:08 +0000
commit4df72682b3b17faa7132273c23f12528905e21bf (patch)
tree5d81f739ed04cea980f0d9e30e9c6ff35f0167d8 /src/native/windows
parentb83c3f9ac77f344d9fd2746acaf84375a7ccc060 (diff)
downloadjitsi-4df72682b3b17faa7132273c23f12528905e21bf.zip
jitsi-4df72682b3b17faa7132273c23f12528905e21bf.tar.gz
jitsi-4df72682b3b17faa7132273c23f12528905e21bf.tar.bz2
Disable directshow horizontal flip capabilities. Note that the DLLs need to be rebuilt.
Diffstat (limited to 'src/native/windows')
-rw-r--r--src/native/windows/directshow/ds_capture_device.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/native/windows/directshow/ds_capture_device.cpp b/src/native/windows/directshow/ds_capture_device.cpp
index 8671a53..5804536 100644
--- a/src/native/windows/directshow/ds_capture_device.cpp
+++ b/src/native/windows/directshow/ds_capture_device.cpp
@@ -404,6 +404,12 @@ bool DSCaptureDevice::initDevice(IMoniker* moniker)
{
m_flip = false;
}
+
+ if((caps & VideoControlFlag_FlipHorizontal) != 0)
+ {
+ caps = caps & ~(VideoControlFlag_FlipHorizontal);
+ }
+
videoControl->SetMode(pin, caps);
}
pin->Release();