diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-04-09 18:12:59 +0400 |
commit | efbc9d9043ff8ff92716ddd00a5f61412d535593 (patch) | |
tree | 8f3e621f756cf1f5b4d64d97964c7e7abd8aaf08 /src/subtitles/BaseSub.h | |
parent | df6b139a6d9027156f614b68687e039e3a5854db (diff) |
revert r1783
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1785 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/subtitles/BaseSub.h')
-rw-r--r-- | src/subtitles/BaseSub.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/src/subtitles/BaseSub.h b/src/subtitles/BaseSub.h index febcee396..3a824e614 100644 --- a/src/subtitles/BaseSub.h +++ b/src/subtitles/BaseSub.h @@ -1,4 +1,4 @@ -/*
+/*
* $Id$
*
* (C) 2006-2010 see AUTHORS
@@ -27,28 +27,28 @@ enum SUBTITLE_TYPE
{
- ST_DVB,
- ST_HDMV
+ ST_DVB,
+ ST_HDMV
};
class CBaseSub
{
public:
- static const REFERENCE_TIME INVALID_TIME = _I64_MIN;
+ static const REFERENCE_TIME INVALID_TIME = _I64_MIN;
- CBaseSub(SUBTITLE_TYPE nType);
- virtual ~CBaseSub();
+ CBaseSub(SUBTITLE_TYPE nType);
+ virtual ~CBaseSub();
- virtual HRESULT ParseSample(IMediaSample* pSample) = NULL;
- virtual void Reset() = NULL;
- virtual POSITION GetStartPosition(REFERENCE_TIME rt, double fps) = NULL;
- virtual POSITION GetNext(POSITION pos) = NULL;
- virtual REFERENCE_TIME GetStart(POSITION nPos) = NULL;
- virtual REFERENCE_TIME GetStop(POSITION nPos) = NULL;
- virtual void Render(SubPicDesc& spd, REFERENCE_TIME rt, RECT& bbox) = NULL;
- virtual HRESULT GetTextureSize(POSITION pos, SIZE& MaxTextureSize, SIZE& VideoSize, POINT& VideoTopLeft) = NULL;
+ virtual HRESULT ParseSample (IMediaSample* pSample) = NULL;
+ virtual void Reset() = NULL;
+ virtual POSITION GetStartPosition(REFERENCE_TIME rt, double fps) = NULL;
+ virtual POSITION GetNext(POSITION pos) = NULL;
+ virtual REFERENCE_TIME GetStart(POSITION nPos) = NULL;
+ virtual REFERENCE_TIME GetStop(POSITION nPos) = NULL;
+ virtual void Render(SubPicDesc& spd, REFERENCE_TIME rt, RECT& bbox) = NULL;
+ virtual HRESULT GetTextureSize (POSITION pos, SIZE& MaxTextureSize, SIZE& VideoSize, POINT& VideoTopLeft) = NULL;
protected :
- SUBTITLE_TYPE m_nType;
+ SUBTITLE_TYPE m_nType;
};
|