[xiph-commits] r11874 - in trunk/oggdsf/src/lib/codecs: theora/filters/dsfTheoraEncoder vorbis/filters/dsfVorbisEncoder

illiminable at svn.xiph.org illiminable at svn.xiph.org
Sun Oct 1 07:54:45 PDT 2006


Author: illiminable
Date: 2006-10-01 07:54:30 -0700 (Sun, 01 Oct 2006)
New Revision: 11874

Modified:
   trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/PropsTheoraEncoder.cpp
   trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisEncoder/PropsVorbisEncoder.cpp
Log:
* Missing COM releases
* Toggle the disabled controls in the vorbis property page when you click the check box

Modified: trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/PropsTheoraEncoder.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/PropsTheoraEncoder.cpp	2006-10-01 14:41:52 UTC (rev 11873)
+++ trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/PropsTheoraEncoder.cpp	2006-10-01 14:54:30 UTC (rev 11874)
@@ -220,7 +220,7 @@
 {
     
 	if (mTheoraEncodeSettings != NULL) {
-		//mTheoraEncodeSettings->Release();
+		mTheoraEncodeSettings->Release();
 		mTheoraEncodeSettings = NULL;
 	}
 
@@ -233,7 +233,7 @@
 HRESULT PropsTheoraEncoder::OnDisconnect(void)
 {
 	if (mTheoraEncodeSettings != NULL) {
-		//mTheoraEncodeSettings->Release();
+		mTheoraEncodeSettings->Release();
 		mTheoraEncodeSettings = NULL;
 	}
     return S_OK;

Modified: trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisEncoder/PropsVorbisEncoder.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisEncoder/PropsVorbisEncoder.cpp	2006-10-01 14:41:52 UTC (rev 11873)
+++ trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisEncoder/PropsVorbisEncoder.cpp	2006-10-01 14:54:30 UTC (rev 11874)
@@ -106,7 +106,7 @@
 HRESULT PropsVorbisEncoder::OnConnect(IUnknown *pUnk)
 {
 	if (mVorbisEncodeSettings != NULL) {
-		//mTheoraEncodeSettings->Release();
+		mVorbisEncodeSettings->Release();
 		mVorbisEncodeSettings = NULL;
 	}
 
@@ -118,7 +118,7 @@
 HRESULT PropsVorbisEncoder::OnDisconnect(void)
 {
 	if (mVorbisEncodeSettings != NULL) {
-		//mTheoraEncodeSettings->Release();
+		mVorbisEncodeSettings->Release();
 		mVorbisEncodeSettings = NULL;
 	}
     return S_OK;
@@ -133,7 +133,7 @@
             if (HIWORD(wParam) == BN_CLICKED) {
                 if (HWND(lParam) == GetDlgItem(m_hwnd, IDC_CHECK_Q_MODE)) {
                     SetDirty();
-                    setUsingQualityMode(SendDlgItemMessage(m_hwnd,IDC_CHECK_Q_MODE, BM_GETCHECK, NOT_USED, NOT_USED));
+                    setUsingQualityMode(SendDlgItemMessage(m_hwnd,IDC_CHECK_Q_MODE, BM_GETCHECK, 0, 0));
                 }
             }
             break;



More information about the commits mailing list