[xiph-commits] r8268 - trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Tue Nov 23 03:10:05 PST 2004


Author: illiminable
Date: 2004-11-23 03:10:04 -0800 (Tue, 23 Nov 2004)
New Revision: 8268

Modified:
   trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformFilter.cpp
   trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp
   trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.cpp
   trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.h
Log:
* More tidying

Modified: trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformFilter.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformFilter.cpp	2004-11-23 11:07:39 UTC (rev 8267)
+++ trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformFilter.cpp	2004-11-23 11:10:04 UTC (rev 8268)
@@ -39,10 +39,8 @@
 
 //Constructors
 AbstractTransformFilter::AbstractTransformFilter(TCHAR* inFilterName, REFCLSID inFilterGUID)
-	//Base Classes
 	:	CBaseFilter(inFilterName, NULL, m_pLock, inFilterGUID)
 
-	//Member initialisations
 	,	mInputPin(NULL)
 	,	mOutputPin(NULL)
 	

Modified: trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp	2004-11-23 11:07:39 UTC (rev 8267)
+++ trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformInputPin.cpp	2004-11-23 11:10:04 UTC (rev 8268)
@@ -35,6 +35,7 @@
 
 AbstractTransformInputPin::AbstractTransformInputPin (AbstractTransformFilter* inParentFilter, CCritSec* inFilterLock, AbstractTransformOutputPin* inOutputPin, CHAR* inObjectName, LPCWSTR inPinDisplayName, vector<CMediaType*> inAcceptableMediaTypes)
 	:	CBaseInputPin (inObjectName, inParentFilter, inFilterLock, &mHR, inPinDisplayName)
+
 	,	mOutputPin (inOutputPin)
 	,	mParentFilter (inParentFilter)
 	

Modified: trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.cpp	2004-11-23 11:07:39 UTC (rev 8267)
+++ trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.cpp	2004-11-23 11:10:04 UTC (rev 8268)
@@ -34,10 +34,8 @@
 
 
 AbstractTransformOutputPin::AbstractTransformOutputPin(AbstractTransformFilter* inParentFilter, CCritSec* inFilterLock, CHAR* inObjectName, LPCWSTR inPinDisplayName, int inBuffSize, int inNumBuffs, vector<CMediaType*> inAcceptableMediaTypes)
-	//Base Classes
 	:	CBaseOutputPin(inObjectName, inParentFilter, inFilterLock, &mHR, inPinDisplayName)
 
-	//Member initialisation
 	,	mParentFilter(inParentFilter)
 	,	mDataQueue(NULL)
 	
@@ -48,7 +46,6 @@
 	,	mActualBufferCount(0)
 
 	,	mAcceptableMediaTypes(inAcceptableMediaTypes)
-
 {
 
 }

Modified: trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.h
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.h	2004-11-23 11:07:39 UTC (rev 8267)
+++ trunk/oggdsf/src/lib/core/directshow/libDirectshowAbstracts/AbstractTransformOutputPin.h	2004-11-23 11:10:04 UTC (rev 8268)
@@ -80,18 +80,21 @@
 protected:
 	//Helper methods
 	void FillMediaType(CMediaType* outMediaType, int inPosition);
-	//Member data
+
+	//Pin member data
 	AbstractTransformFilter* mParentFilter;
 	COutputQueue* mDataQueue;
-
 	vector<CMediaType*> mAcceptableMediaTypes;
+	
+	HRESULT mHR;
 
+	//Buffer parameter member data
 	int mDesiredBufferSize;
 	int mDesiredBufferCount;
 	int mActualBufferSize;
 	int mActualBufferCount;
 
-	HRESULT mHR;
+	
 };
 
 



More information about the commits mailing list