www.pudn.com > filterasfmuxer_2008_01_23.rar > CVideoInputPin.h


// 
// CVideoInputPin.h 
//  
/** 
 ** Copyright (C) 2005 EnjoyView Inc., all rights reserved. 
 **           Your View, Our Passion. Just Enjoy It! 
 ** 
 **            http://spaces.msn.com/members/jemylu 
 ** 
 **/ 
 
/*************************************************************************/ 
 
#ifndef _CVideoInputPin_h_ 
#define _CVideoInputPin_h_ 
 
#include "CXRenderedPin.h" 
 
class CVideoInputPin : public CXRenderedPin 
{ 
public: 
	CVideoInputPin(CFilterASFMuxer *pFilter , HRESULT *phr, LPCWSTR pPinName); 
	virtual ~CVideoInputPin(); 
	 
    virtual HRESULT ReceiveXSample(IMediaSample * pSample); 
 
    // Check if the pin can support this specific proposed type and format 
    HRESULT CheckMediaType(const CMediaType * inMediaType); 
	HRESULT CompleteConnect(IPin *pReceivePin); 
}; 
 
#endif // _CVideoInputPin_h_