diff options
Diffstat (limited to 'win32/plugins/dfxvideo/winsrc/record.c')
| -rwxr-xr-x[-rw-r--r--] | win32/plugins/dfxvideo/winsrc/record.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/win32/plugins/dfxvideo/winsrc/record.c b/win32/plugins/dfxvideo/winsrc/record.c index c6d3b86e..52184e18 100644..100755 --- a/win32/plugins/dfxvideo/winsrc/record.c +++ b/win32/plugins/dfxvideo/winsrc/record.c @@ -16,9 +16,9 @@ * * ***************************************************************************/ -#include "externals.h"
-#include "record.h"
-#include "gpu.h"
+#include "externals.h" +#include "record.h" +#include "gpu.h" #include <direct.h> extern BOOL RECORD_RECORDING = FALSE; @@ -123,11 +123,11 @@ opts.cbParms = pCompression->cbState; opts.dwInterleaveEvery = 0; if(AVIMakeCompressedStream(&psCompressed,ps,&opts,NULL)!=AVIERR_OK) goto error; -
-//if(AVIStreamSetFormat(psCompressed,0,&RECORD_BI,RECORD_BI.biSizeImage)!=AVIERR_OK) goto error;
-// fixed:
-if(AVIStreamSetFormat(psCompressed,0,&RECORD_BI,sizeof(RECORD_BI))!=AVIERR_OK) goto error;
-
+ +//if(AVIStreamSetFormat(psCompressed,0,&RECORD_BI,RECORD_BI.biSizeImage)!=AVIERR_OK) goto error; +// fixed: +if(AVIStreamSetFormat(psCompressed,0,&RECORD_BI,sizeof(RECORD_BI))!=AVIERR_OK) goto error; + frame = 0; skip = RECORD_FRAME_RATE_SCALE; return TRUE; |
