[xiph-commits] r7986 -
trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9
illiminable at motherfish-iii.xiph.org
illiminable at motherfish-iii.xiph.org
Tue Oct 12 04:46:07 PDT 2004
Author: illiminable
Date: 2004-10-12 04:46:07 -0700 (Tue, 12 Oct 2004)
New Revision: 7986
Modified:
trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.cpp
trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.h
Log:
* Release more stray references... no more duplicate windows.
* CMML clip tags seem to get lost after a follow link though.
Modified: trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.cpp 2004-10-12 11:03:40 UTC (rev 7985)
+++ trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.cpp 2004-10-12 11:46:07 UTC (rev 7986)
@@ -64,13 +64,14 @@
, mVideoWindow(NULL)
, mWindowLess(NULL)
{
- //debugLog.open("G:\\logs\\vmr9_subs.log", ios_base::out);
+ debugLog.open("G:\\logs\\vmr9_subs.log", ios_base::out);
//mOutputPin = new SubtitleVMR9OutputPin(this, m_pLock, NAME("SubtitleVMR9OutputPin"), L"Subtitle Out");
}
SubtitleVMR9Filter::~SubtitleVMR9Filter(void)
{
- //debugLog.close();
+ debugLog<<"Destructor for subtitle renderer"<<endl;
+ debugLog.close();
if (mBitmapMixer != NULL) {
mBitmapMixer->Release();
@@ -131,6 +132,7 @@
locHR = locVMR9->QueryInterface(IID_IVMRWindowlessControl9, (void**)&mWindowLess);
locHR = locVMR9->QueryInterface(IID_IVideoWindow, (void**)&mVideoWindow);
+ locVMR9->Release();
} else {
return S_OK;
}
Modified: trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.h
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.h 2004-10-12 11:03:40 UTC (rev 7985)
+++ trunk/oggdsf/src/lib/core/directshow/dsfSubtitleVMR9/SubtitleVMR9Filter.h 2004-10-12 11:46:07 UTC (rev 7986)
@@ -89,6 +89,6 @@
VMR9AlphaBitmap mAlphaBitmap;
//debug only
- //fstream debugLog;
+ fstream debugLog;
//
};
More information about the commits
mailing list