| 145 | // |
| 146 | |
| 147 | CSubPicQueue::CSubPicQueue(int nMaxSubPic, bool bDisableAnim, bool bAllowDropSubPic, ISubPicAllocator* pAllocator, HRESULT* phr) |
| 148 | : CSubPicQueueImpl(pAllocator, phr) |
| 149 | , m_nMaxSubPic(nMaxSubPic) |
| 150 | , m_bDisableAnim(bDisableAnim) |
| 151 | , m_bAllowDropSubPic(bAllowDropSubPic) |
| 152 | { |
| 153 | if (phr && FAILED(*phr)) { |
| 154 | return; |
| 155 | } |
| 156 | |
| 157 | if (m_nMaxSubPic < 1) { |
| 158 | if (phr) { |
| 159 | *phr = E_INVALIDARG; |
| 160 | } |
| 161 | return; |
| 162 | } |
| 163 | |
| 164 | CAMThread::Create(); |
| 165 | } |
| 166 | |
| 167 | CSubPicQueue::~CSubPicQueue() |
| 168 | { |
nothing calls this directly
no outgoing calls
no test coverage detected