[xiph-commits] r11907 - in trunk/oggdsf/src/lib/codecs/theora/filters: dsfTheoraDecoder dsfTheoraEncoder

illiminable at svn.xiph.org illiminable at svn.xiph.org
Tue Oct 10 06:52:32 PDT 2006


Author: illiminable
Date: 2006-10-10 06:52:27 -0700 (Tue, 10 Oct 2006)
New Revision: 11907

Modified:
   trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/stdafx.h
   trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeFilter.h
   trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp
Log:
* Remove dead code in theora filters

Modified: trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/stdafx.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/stdafx.h	2006-10-10 13:51:31 UTC (rev 11906)
+++ trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraDecoder/stdafx.h	2006-10-10 13:52:27 UTC (rev 11907)
@@ -41,14 +41,3 @@
 #include <windows.h>
 
 
-
-
-
-//OLD
-// TODO: reference additional headers your program requires here
-//#include "AbstractVideoDecodeFilter.h"
-//#include "AbstractVideoDecodeInputPin.h"
-//#include "AbstractVideoDecodeOutputPin.h"
-//#include "TheoraDecodeInputPin.h"
-//#include "TheoraDecodeOutputPin.h"
-//#include "TheoraDecodeFilter.h"
\ No newline at end of file

Modified: trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeFilter.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeFilter.h	2006-10-10 13:51:31 UTC (rev 11906)
+++ trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeFilter.h	2006-10-10 13:52:27 UTC (rev 11907)
@@ -104,7 +104,7 @@
 
 protected:
 
-	//AbstractVideoEncodeFilter pure virtuals
+
 	virtual bool ConstructPins();
 
 	//Member data

Modified: trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp	2006-10-10 13:51:31 UTC (rev 11906)
+++ trunk/oggdsf/src/lib/codecs/theora/filters/dsfTheoraEncoder/TheoraEncodeInputPin.cpp	2006-10-10 13:52:27 UTC (rev 11907)
@@ -1386,9 +1386,10 @@
 
 
 
-HRESULT TheoraEncodeInputPin::SetMediaType(const CMediaType* inMediaType) {
-	//AbstractVideoEncodeInputPin::SetMediaType(inMediaType);
+HRESULT TheoraEncodeInputPin::SetMediaType(const CMediaType* inMediaType) 
+{
 
+
 	if  (	inMediaType->subtype == MEDIASUBTYPE_YV12 || 
 			inMediaType->subtype == MEDIASUBTYPE_IYUV ||
 			inMediaType->subtype == MEDIASUBTYPE_YUY2 ||
@@ -1400,7 +1401,6 @@
 	) {
 		mVideoFormat = (VIDEOINFOHEADER*)inMediaType->pbFormat;
 		mPinInputType = *inMediaType;
-		//mParentFilter->mAudioFormat = AbstractAudioDecodeFilter::VORBIS;
 	} else {
 		//Failed... should never be here !
 		throw 0;



More information about the commits mailing list