[xiph-commits] r7777 - trunk/oggdsf/src/lib/core/directshow/dsfOggDemux

illiminable at motherfish-iii.xiph.org illiminable at motherfish-iii.xiph.org
Fri Sep 17 10:52:49 PDT 2004


Author: illiminable
Date: 2004-09-17 10:52:48 -0700 (Fri, 17 Sep 2004)
New Revision: 7777

Modified:
   trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourcePin.cpp
Log:
* Microsoft rule #451 - "Where the documentation and the implementation differ, the implementation is correct, no matter what previous versions did, how stupid it is, or how explicitly it is stated in the documentation"
* Seeking works in WMP9&10

Modified: trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourcePin.cpp
===================================================================
--- trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourcePin.cpp	2004-09-17 17:45:02 UTC (rev 7776)
+++ trunk/oggdsf/src/lib/core/directshow/dsfOggDemux/OggDemuxSourcePin.cpp	2004-09-17 17:52:48 UTC (rev 7777)
@@ -49,7 +49,7 @@
 {
 	debugLog.open("G:\\logs\\sourcefilterpin.log", ios_base::out);
 	IMediaSeeking* locSeeker = NULL;
-	if (inAllowSeek) {
+	//if (inAllowSeek) {
 		debugLog<<"Allowing seek"<<endl;
 		//Subvert COM and do this directly... this way, the source filter won't expose the interface to the
 		// graph but we can still delegate to it.
@@ -61,7 +61,7 @@
 		//locSeeker->AddRef();				//If you addref theres a weird destructor infinite loop. See the OggStreamMapper Destructor.
 
 	
-	}
+	//}
 	SetDelegate(locSeeker);
 }
 



More information about the commits mailing list