Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CaptureCfg.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// CaptureCfg.cpp : implementation file
//

#include <limits>
#include "stdafx.h"
#include "WinDV.h"
#include "CaptureCfg.h"
Expand Down Expand Up @@ -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, std::numeric_limits<UINT>::max());
Comment thread
rubiefawn marked this conversation as resolved.
Outdated
DDX_Radio(pDX, IDC_TYPE_1, m_type12);
DDX_CBString(pDX, IDC_DTFORMAT, m_dtformat);
DDX_CBIndex(pDX, IDC_NDIGITS, m_ndigits);
Expand Down
6 changes: 3 additions & 3 deletions DShow.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down