[xiph-commits] r7922 - in trunk/oggdsf: . src/lib/codecs/vorbis/filters/dsfVorbisDecoder src/lib/core/directshow/dsfOggDemux

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Thu Oct 7 04:13:42 PDT 2004


Author: illiminable
Date: 2004-10-07 04:13:41 -0700 (Thu, 07 Oct 2004)
New Revision: 7922

Modified:
   trunk/oggdsf/VERSIONS
   trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp
   trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.h
   trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.cpp
   trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.h
Log:
* Removed some debug code for release.

Modified: trunk/oggdsf/VERSIONS
===================================================================
--- trunk/oggdsf/VERSIONS	2004-10-07 10:11:32 UTC (rev 7921)
+++ trunk/oggdsf/VERSIONS	2004-10-07 11:13:41 UTC (rev 7922)
@@ -1,4 +1,4 @@
-PACKAGE		-	0.65.7878
+PACKAGE		-	0.65.7921
 =================================
 libspeex	-	1.0.4
 libvorbis	-	1.1.0

Modified: trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp
===================================================================
--- trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp	2004-10-07 10:11:32 UTC (rev 7921)
+++ trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.cpp	2004-10-07 11:13:41 UTC (rev 7922)
@@ -40,7 +40,7 @@
 	,	mFishSound(NULL)
 		
 {
-	debugLog.open("g:\\logs\\vorbislog.log", ios_base::out);
+	//debugLog.open("g:\\logs\\vorbislog.log", ios_base::out);
 	ConstructCodec();
 }
 
@@ -71,7 +71,7 @@
 }
 VorbisDecodeInputPin::~VorbisDecodeInputPin(void)
 {
-	debugLog.close();
+	//debugLog.close();
 	DestroyCodec();
 }
 
@@ -113,7 +113,7 @@
 
 		//New hacks for chaining.
 		if (locThis->mSeekTimeBase == -1) {
-			locThis->debugLog<<"Chaining was detected... setting chain time base to : "<<locThis->mPreviousEndTime<<endl;
+			//locThis->debugLog<<"Chaining was detected... setting chain time base to : "<<locThis->mPreviousEndTime<<endl;
 			//This is our signal this is the start of a chain...
 			// This can only happen on non-seekable streams.
 			locThis->mChainTimeBase = locThis->mPreviousEndTime;

Modified: trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.h
===================================================================
--- trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.h	2004-10-07 10:11:32 UTC (rev 7921)
+++ trunk/oggdsf/src/lib/codecs/vorbis/filters/dsfVorbisDecoder/VorbisDecodeInputPin.h	2004-10-07 11:13:41 UTC (rev 7922)
@@ -97,7 +97,7 @@
 	//VorbisDecodeOutputPin* mOutputPin;
 	//__int64 mUptoFrame;
 
-	fstream debugLog;
+	//fstream debugLog;
 
 	FishSound* mFishSound;
 	FishSoundInfo mFishInfo; 

Modified: trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.cpp	2004-10-07 10:11:32 UTC (rev 7921)
+++ trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.cpp	2004-10-07 11:13:41 UTC (rev 7922)
@@ -51,7 +51,7 @@
 	//Need to do something here !
 	mSerialNo = inBOSPage->header()->StreamSerialNo();
 	string locLogName = "G:\\logs\\oggstream" + StringHelper::numToString(mSerialNo) + ".log";
-	debugLog.open(locLogName.c_str(), ios_base::out);
+	//debugLog.open(locLogName.c_str(), ios_base::out);
 	mStreamLock = new CCritSec;
 	//This may need to be moved to derived class
 	//Yep, Sure did !
@@ -65,7 +65,7 @@
 OggStream::~OggStream(void)
 {
 	//debugLog<<"Destructor..."<<endl;
-	debugLog.close();
+	//debugLog.close();
 	delete mSourcePin;
 	delete mCodecHeaders;
 	//delete mPartialPacket;
@@ -220,7 +220,7 @@
 		//A BOS page can only be sent here if it's a chain... otherwise
 		// it would have already been stripped by the demux if it was at the
 		// start of the file.
-		debugLog<<"Detected chain... setting seek timebase to -1"<<endl;
+		//debugLog<<"Detected chain... setting seek timebase to -1"<<endl;
 		mOwningFilter->mSeekTimeBase = -1;		
 
 	}

Modified: trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.h
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.h	2004-10-07 10:11:32 UTC (rev 7921)
+++ trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggStream.h	2004-10-07 11:13:41 UTC (rev 7922)
@@ -118,5 +118,5 @@
 	OggDemuxSourceFilter* mOwningFilter;
 	CCritSec* mStreamLock;
 
-	fstream debugLog;
+	//fstream debugLog;
 };



More information about the commits mailing list