[xiph-commits] r6940 - in trunk/oggdsf/src/lib/core/directshow:
illiminable at dactyl.lonelymoon.com
illiminable
Thu Jul 1 01:24:37 PDT 2004
dsfAbstractAudioDecoder dsfAbstractVideoDecoder
Message-ID: <20040701082437.4E2709AAAD at dactyl.lonelymoon.com>
Author: illiminable
Date: Thu Jul 1 01:24:37 2004
New Revision: 6940
Modified:
trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeInputPin.cpp
trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeOutputPin.cpp
trunk/oggdsf/src/lib/core/directshow/dsfAbstractVideoDecoder/AbstractVideoDecodeOutputPin.cpp
Log:
* Theora encoder now works... all is well.
* Memory leaks everywhere :(
* Something about how the samples are queued, means that when the graph is unloaded the samples in the graph already are not properly being release.
Modified: trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeInputPin.cpp 2004-06-30 22:58:55 UTC (rev 6939)
+++ trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeInputPin.cpp 2004-07-01 08:24:35 UTC (rev 6940)
@@ -119,7 +119,7 @@
inSample->GetTime(&locStart, &locEnd);
//Error chacks needed here
//aadDebug<<"Receive : Start = "<<locStart<<endl;
- if (mLastSeenStartGranPos != locStart) {
+ if ((mLastSeenStartGranPos != locStart) && (locStart != -1)) {
ResetFrameCount();
}
mLastSeenStartGranPos = locStart;
Modified: trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeOutputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeOutputPin.cpp 2004-06-30 22:58:55 UTC (rev 6939)
+++ trunk/oggdsf/src/lib/core/directshow/dsfAbstractAudioDecoder/AbstractAudioDecodeOutputPin.cpp 2004-07-01 08:24:35 UTC (rev 6940)
@@ -169,7 +169,7 @@
HRESULT AbstractAudioDecodeOutputPin::CompleteConnect (IPin *inReceivePin) {
HRESULT locHR = S_OK;
- mDataQueue = new COutputQueue (inReceivePin, &locHR, FALSE, TRUE, 1, TRUE, 10);
+ mDataQueue = new COutputQueue (inReceivePin, &locHR, FALSE, TRUE, 1, TRUE, 20);
if (FAILED(locHR)) {
locHR = locHR;
}
Modified: trunk/oggdsf/src/lib/core/directshow/dsfAbstractVideoDecoder/AbstractVideoDecodeOutputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfAbstractVideoDecoder/AbstractVideoDecodeOutputPin.cpp 2004-06-30 22:58:55 UTC (rev 6939)
+++ trunk/oggdsf/src/lib/core/directshow/dsfAbstractVideoDecoder/AbstractVideoDecodeOutputPin.cpp 2004-07-01 08:24:35 UTC (rev 6940)
@@ -234,7 +234,7 @@
HRESULT locHR = S_OK;
//This may cause issue if pins are disconnected and reconnected
//DELETE in DEStructor
- mDataQueue = new COutputQueue (inReceivePin, &locHR, FALSE, TRUE, 1, TRUE, 25);
+ mDataQueue = new COutputQueue (inReceivePin, &locHR, FALSE, TRUE, 1, TRUE, 5);
if (FAILED(locHR)) {
locHR = locHR;
}
More information about the commits
mailing list