diff options
author | Sebastien Vincent <seb@jitsi.org> | 2011-03-03 16:16:28 +0000 |
---|---|---|
committer | Sebastien Vincent <seb@jitsi.org> | 2011-03-03 16:16:28 +0000 |
commit | b83c3f9ac77f344d9fd2746acaf84375a7ccc060 (patch) | |
tree | eac482dd3c9b24280f101414c458fe2604d19970 /src/native/windows/directshow/ds_capture_device.h | |
parent | f42a63045bb6ebc54d3baaf46f3142027ea7b9ad (diff) | |
download | jitsi-b83c3f9ac77f344d9fd2746acaf84375a7ccc060.zip jitsi-b83c3f9ac77f344d9fd2746acaf84375a7ccc060.tar.gz jitsi-b83c3f9ac77f344d9fd2746acaf84375a7ccc060.tar.bz2 |
Attempt to fix upside-down webcam problems on some computers.
Diffstat (limited to 'src/native/windows/directshow/ds_capture_device.h')
-rw-r--r-- | src/native/windows/directshow/ds_capture_device.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/native/windows/directshow/ds_capture_device.h b/src/native/windows/directshow/ds_capture_device.h index 78db67d..a8393ab 100644 --- a/src/native/windows/directshow/ds_capture_device.h +++ b/src/native/windows/directshow/ds_capture_device.h @@ -171,6 +171,12 @@ public: */
size_t getBitPerPixel();
+ /**
+ * \brief If the image is flipped vertically.
+ * \return true if image is flipped vertically, false otherwise
+ */
+ bool isFlip();
+
private:
/**
* \brief Initialize list of supported size.
@@ -236,6 +242,11 @@ private: * \brief Current bit per pixel.
*/
size_t m_bitPerPixel;
+
+ /**
+ * \brief If the video is already flipped.
+ */
+ bool m_flip;
};
#endif /* DS_CAPTURE_DEVICE_H */
|