diff options
author | Alfred E. Heggestad <aeh@db.org> | 2015-07-18 15:17:07 +0200 |
---|---|---|
committer | Alfred E. Heggestad <aeh@db.org> | 2015-07-18 15:17:07 +0200 |
commit | 2076043d899a575c524a9c7132226d4461836aaf (patch) | |
tree | 743d3d5e819b34d59c6eefe9d8e4b768ab1105a7 /modules/dshow | |
parent | efe5804871d465c5ad5ade414a399fb37d5658a8 (diff) |
win32 porting (VC2010)
https://github.com/alfredh/baresip/pull/52
original patch by Victor Sergienko
- the copy of windows .h header files was not included
Diffstat (limited to 'modules/dshow')
-rw-r--r-- | modules/dshow/dshow.cpp | 32 |
1 files changed, 30 insertions, 2 deletions
diff --git a/modules/dshow/dshow.cpp b/modules/dshow/dshow.cpp index c687f83..0c0066f 100644 --- a/modules/dshow/dshow.cpp +++ b/modules/dshow/dshow.cpp @@ -9,12 +9,40 @@ #include <re.h> #include <rem.h> #include <baresip.h> -#include <comutil.h> #include <commctrl.h> #include <dshow.h> -#include <qedit.h> +/** + * @defgroup dshow dshow + * + * Windows DirectShow video-source + * + * + * References: + * + * http://www.alsa-project.org/main/index.php/Main_Page + */ + + +/* a piece from Google WebM's qedit.h: + * + * https://code.google.com/p/webm/source/browse/qedit.h?repo=udpsample + */ +static const +IID IID_ISampleGrabber = { + 0x6b652fff, 0x11fe, 0x4fce, + { 0x92, 0xad, 0x02, 0x66, 0xb5, 0xd7, 0xc7, 0x8f } +}; + +static const +IID IID_ISampleGrabberCB = { + 0x0579154a, 0x2b53, 0x4994, + { 0xb0, 0xd0, 0xe7, 0x73, 0x14, 0x8e, 0xff, 0x85 } +}; + +#include "qedit.h" + const CLSID CLSID_SampleGrabber = { 0xc1f400a0, 0x3f08, 0x11d3, { 0x9f, 0x0b, 0x00, 0x60, 0x08, 0x03, 0x9e, 0x37 } }; |