📄 cbranchinputpin.h
字号:
//
// CBranchInputPin.h
//
#ifndef __H_CBranchInputPin__
#define __H_CBranchInputPin__
class CFilterVideoKeyer;
class CBranchInputPin : public CBaseInputPin
{
private:
CFilterVideoKeyer * mFilter;
CCritSec mSyncStream;
public:
CBranchInputPin(CFilterVideoKeyer * inFilter, HRESULT * phr, LPCWSTR inPinName);
~CBranchInputPin();
// check that we can support this output type
HRESULT CheckMediaType(const CMediaType* mtIn);
STDMETHODIMP Receive(IMediaSample * pSample);
STDMETHODIMP EndOfStream(void);
STDMETHODIMP BeginFlush(void);
STDMETHODIMP EndFlush(void);
public:
CMediaType& CurrentMediaType(void) { return m_mt; };
};
#endif // __H_CBranchInputPin__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -