diff --git a/release/win32/SpoutCam32.ax b/release/win32/SpoutCam32.ax index fbc4bb1..8399934 100644 Binary files a/release/win32/SpoutCam32.ax and b/release/win32/SpoutCam32.ax differ diff --git a/release/x64/SpoutCam64.ax b/release/x64/SpoutCam64.ax index 16823d7..cfc2ca8 100644 Binary files a/release/x64/SpoutCam64.ax and b/release/x64/SpoutCam64.ax differ diff --git a/source/camprops.cpp b/source/camprops.cpp index 6f12288..cb204f3 100644 --- a/source/camprops.cpp +++ b/source/camprops.cpp @@ -247,7 +247,9 @@ HRESULT CSpoutCamProperties::OnApplyChanges() hwndCtl = GetDlgItem(this->m_Dlg, IDC_FLIP); dwFlip = Button_GetCheck(hwndCtl); WriteDwordToRegistry(HKEY_CURRENT_USER, "Software\\Leading Edge\\SpoutCam", "flip", dwFlip); + + if (m_pCamSettings) + m_pCamSettings->put_Settings(dwFps, dwResolution, dwMirror, dwSwap, dwFlip); - CheckPointer(m_pCamSettings, E_POINTER); - return m_pCamSettings->put_Settings(dwFps, dwResolution, dwMirror, dwSwap, dwFlip); + return S_OK; } diff --git a/source/dshowutil.h b/source/dshowutil.h index 516eddd..366860e 100644 --- a/source/dshowutil.h +++ b/source/dshowutil.h @@ -51,8 +51,6 @@ //} //#define TRACE(...) OutputDebugStringf(__VA_ARGS__); -#define DBGI(x) {char dbg[32];sprintf(dbg,"%ld",(long)x);OutputDebugStringA(dbg);} - /////////////////////////////////////////////////////////////////////// // Name: ShowFilterPropertyPage // Desc: Show a filter's property page.