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

illiminable at svn.xiph.org illiminable at svn.xiph.org
Sat Oct 22 01:16:15 PDT 2005


Author: illiminable
Date: 2005-10-22 01:16:12 -0700 (Sat, 22 Oct 2005)
New Revision: 10242

Modified:
   branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.cpp
   branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.h
Log:
* Implement IAMFilterMiscFlags interface

Modified: branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.cpp
===================================================================
--- branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.cpp	2005-10-22 08:14:34 UTC (rev 10241)
+++ branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.cpp	2005-10-22 08:16:12 UTC (rev 10242)
@@ -145,3 +145,9 @@
 	//TODO:::
 	return S_OK;
 }
+
+//IAMFilterMiscFlags Interface
+ULONG OggDemuxPageSourceFilter::GetMiscFlags(void) 
+{
+	return AM_FILTER_MISC_FLAGS_IS_SOURCE;
+}

Modified: branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.h
===================================================================
--- branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.h	2005-10-22 08:14:34 UTC (rev 10241)
+++ branches/oggdsf_new_demux/src/lib/core/directshow/dsfOggDemux2/OggDemuxPageSourceFilter.h	2005-10-22 08:16:12 UTC (rev 10242)
@@ -37,7 +37,7 @@
 	//,	public IOggCallback
 	//,	public BasicSeekPassThrough
 	//,	public ISpecifyPropertyPages
-	//,	public IAMFilterMiscFlags
+	,	public IAMFilterMiscFlags
 	//,	public IAMMediaContent
 {
 public:
@@ -59,5 +59,8 @@
 	virtual STDMETHODIMP GetCurFile(LPOLESTR* outFileName, AM_MEDIA_TYPE* outMediaType);
 	virtual STDMETHODIMP Load(LPCOLESTR inFileName, const AM_MEDIA_TYPE* inMediaType);
 
+	//IAMFilterMiscFlags Interface
+	ULONG STDMETHODCALLTYPE GetMiscFlags(void);
 
+
 };



More information about the commits mailing list