diff --git a/CaptureCfg.cpp b/CaptureCfg.cpp index 0b9e28c..c418acb 100644 --- a/CaptureCfg.cpp +++ b/CaptureCfg.cpp @@ -1,6 +1,7 @@ // CaptureCfg.cpp : implementation file // +#include #include "stdafx.h" #include "WinDV.h" #include "CaptureCfg.h" @@ -42,7 +43,7 @@ void CCaptureCfg::DoDataExchange(CDataExchange* pDX) DDX_Text(pDX, IDC_EVERY_NTH, m_everyNth); DDV_MinMaxUInt(pDX, m_everyNth, 1, 1000000); DDX_Text(pDX, IDC_MAX_FRAMES, m_maxAVIFrames); - DDV_MinMaxUInt(pDX, m_maxAVIFrames, 10, 1000000); + DDV_MinMaxUInt(pDX, m_maxAVIFrames, 10, UINT_MAX); DDX_Radio(pDX, IDC_TYPE_1, m_type12); DDX_CBString(pDX, IDC_DTFORMAT, m_dtformat); DDX_CBIndex(pDX, IDC_NDIGITS, m_ndigits); diff --git a/DShow.h b/DShow.h index 231cd7d..02db59e 100644 --- a/DShow.h +++ b/DShow.h @@ -203,9 +203,9 @@ class CDV:public CStatic, CFrameHandler { public: enum {Idle, RecordPaused, Recording, CapturePaused, Capturing, Finished} m_state; bool m_type2AVI; - int m_discontinuityTreshold; - int m_maxAVIFrames; - int m_everyNth; + UINT m_discontinuityTreshold; + UINT m_maxAVIFrames; + UINT m_everyNth; bool m_recordPreview; bool m_DVctrl;