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

illiminable at svn.xiph.org illiminable at svn.xiph.org
Sun Oct 23 12:14:51 PDT 2005


Author: illiminable
Date: 2005-10-23 12:14:48 -0700 (Sun, 23 Oct 2005)
New Revision: 10281

Modified:
   branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourcePin.cpp
Log:
* Move the packetiser reset to endflush so we don't lose the start of the stream

Modified: branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourcePin.cpp
===================================================================
--- branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourcePin.cpp	2005-10-23 18:58:24 UTC (rev 10280)
+++ branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPacketSourcePin.cpp	2005-10-23 19:14:48 UTC (rev 10281)
@@ -302,6 +302,7 @@
 
 HRESULT OggDemuxPacketSourcePin::DeliverEndFlush(void)
 {
+	mPacketiser.reset();
 	mDataQueue->EndFlush();
     return S_OK;
 }
@@ -309,6 +310,6 @@
 HRESULT OggDemuxPacketSourcePin::DeliverBeginFlush(void)
 {
 	mDataQueue->BeginFlush();
-	mPacketiser.reset();
+	
     return S_OK;
 }
\ No newline at end of file



More information about the commits mailing list