[xiph-commits] r10462 - branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2

illiminable at svn.xiph.org illiminable at svn.xiph.org
Sat Nov 26 21:42:24 PST 2005


Author: illiminable
Date: 2005-11-26 21:42:20 -0800 (Sat, 26 Nov 2005)
New Revision: 10462

Modified:
   branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourceFilter.cpp
Log:
* Nasty hack, because directshow doesn't parse url queries correctly

Modified: branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourceFilter.cpp
===================================================================
--- branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourceFilter.cpp	2005-11-27 04:25:44 UTC (rev 10461)
+++ branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourceFilter.cpp	2005-11-27 05:42:20 UTC (rev 10462)
@@ -385,8 +385,16 @@
 {
 	////Initialise the file here and setup all the streams
 	CAutoLock locLock(m_pLock);
+
+
+
 	mFileName = inFileName;
 
+	if (mFileName.find(L"XsZZfQ__WiiPFD.anx") == mFileName.size() - 18){
+		mFileName = mFileName.substr(0, mFileName.size() - 18);
+		
+	}
+
 	//debugLog<<"Loading : "<<StringHelper::toNarrowStr(mFileName)<<endl;
 
 	//debugLog << "Opening source file : "<<StringHelper::toNarrowStr(mFileName)<<endl;



More information about the commits mailing list