Revision: 18740
http://opalvoip.svn.sourceforge.net/opalvoip/?rev=18740&view=rev
Author: shorne
Date: 2007-10-22 11:36:57 -0700 (Mon, 22 Oct 2007)
Log Message:
-----------
Visual Studio Support
Modified Paths:
--------------
ptlib/trunk/include/ptlib/msos/ptlib/vidinput_directx.h
Modified: ptlib/trunk/include/ptlib/msos/ptlib/vidinput_directx.h
===================================================================
--- ptlib/trunk/include/ptlib/msos/ptlib/vidinput_directx.h 2007-10-22 18:36:06 UTC (rev 18739)
+++ ptlib/trunk/include/ptlib/msos/ptlib/vidinput_directx.h 2007-10-22 18:36:57 UTC (rev 18740)
@@ -37,7 +37,10 @@
#include <ptlib/pluginmgr.h>
#include <ptclib/delaychan.h>
+#ifdef __MINGW32__
#include <mingw_dshow_port.h>
+#endif
+
#include <windows.h>
#include <ddraw.h>
#include <dshow.h>
@@ -79,8 +82,7 @@
};
#else
-#include <Mtype.h>
-#include <qedit.h>
+#include <Qedit.h>
#endif
/**This class defines a video input device.
@@ -112,7 +114,14 @@
PStringList GetDeviceNames() const
{ return GetInputDeviceNames(); }
+ /**Retrieve a list of Device Capabilities
+ */
+ static BOOL GetDeviceCapabilities(
+ const PString & deviceName, ///< Name of device
+ InputDeviceCapabilities & caps ///< List of supported capabilities
+ );
+
/**Determine if the device is currently open.
*/
BOOL IsOpen();
@@ -262,7 +271,7 @@
void FlipVertical(BYTE *buffer);
char *tempFrame; /* Buffer used when a converter is needed */
- unsigned int frameBytes; /* Size of a frame in Bytes */
+ long frameBytes; /* Size of a frame in Bytes */
int capturing_duration;
BOOL flipVertical;
PAdaptiveDelay m_pacing;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|