00001 #include "stdafx.h" 00002 #include "oggdemuxfilter.h" 00003 00004 OggDemuxFilter::OggDemuxFilter(void) 00005 { 00006 } 00007 00008 OggDemuxFilter::~OggDemuxFilter(void) 00009 { 00010 } 00011 00012 00013 CBasePin* OggDemuxFilter::GetPin(int inPinNo) { 00014 if ((inPinNo < 0) || (inPinNo >= mPinList.size())) { 00015 //Out of range 00016 return NULL; 00017 } else if (inPinNo == 0) { 00018 return mInputPin; 00019 } else { 00020 return mOutputPinList[inPinNo]; 00021 } 00022 } 00023 int OggDemuxFilter::GetPinCount() { 00024 return mPinList.size() + 1; 00025 }