TVPinVideo.h
资源名称:p2p_vod.rar [点击查看]
上传用户:liguizhu
上传日期:2015-11-01
资源大小:2422k
文件大小:1k
源码类别:
P2P编程
开发平台:
Visual C++
- #pragma once
- class CTVStreamSourceVideoPin;
- class CTVStreamSourceAudioPin;
- class CTVStreamSourceVideoPin : public CTVStreamSourcePin
- //public CSourceSeeking
- {
- public:
- CTVStreamSourceVideoPin(HRESULT *phr, CSource *pFilter);
- ~CTVStreamSourceVideoPin();
- public:
- //
- STDMETHODIMP NonDelegatingQueryInterface(REFIID riid, void ** ppv);
- //IMediaSeeking
- virtual HRESULT ChangeStart();
- virtual HRESULT ChangeStop();
- virtual HRESULT ChangeRate();
- //
- HRESULT Active(void);
- //
- protected:
- virtual HRESULT OnThreadStartPlay(void);
- virtual HRESULT OnThreadDestroy(void);
- virtual void RawSync(LONGLONG start);
- //
- protected:
- HRESULT SeekTime(REFERENCE_TIME rtPos);
- };