Commit 4a17d107 authored by aymeric's avatar aymeric
Browse files

Fix visualstudio compilation and add missing files for native compilation.

git-svn-id: svn+ssh://svn.savannah.nongnu.org/linphone/trunk@115 3f6dc0c8-ddfe-455d-9043-3cd528dc4637
parent 86671fa9
......@@ -341,6 +341,10 @@
RelativePath="..\..\src\winsndds.cpp"
>
</File>
<File
RelativePath="..\..\src\winvideo2.c"
>
</File>
<File
RelativePath="..\..\src\winvideods.c"
>
......@@ -435,6 +439,10 @@
RelativePath="..\..\include\mediastreamer2\rfc2429.h"
>
</File>
<File
RelativePath="..\..\src\vfw-missing.h"
>
</File>
<File
RelativePath="..\..\include\mediastreamer2\waveheader.h"
>
......
......@@ -190,10 +190,12 @@ static int _vfw_engine_setup(VfwEngine *obj){
static VfwEngine * vfw_engine_new(int i){
char dev[512];
char ver[512];
VfwEngine *obj=ms_new0(VfwEngine,1);
VfwEngine *obj=(VfwEngine*)ms_new0(VfwEngine,1);
if (capGetDriverDescription(i, dev, sizeof (dev),
ver, sizeof (ver))){
MSVideoSize sz=MS_VIDEO_SIZE_CIF;
MSVideoSize sz;
sz.width=MS_VIDEO_SIZE_CIF_W;
sz.height=MS_VIDEO_SIZE_CIF_H;
HWND hwnd=capCreateCaptureWindow("Capture Window",WS_CHILD /* WS_OVERLAPPED */
,0,0,sz.width,sz.height,HWND_MESSAGE, 0) ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment