MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / CSubPicQueue

Method CSubPicQueue

Source/SubPic/SubPicQueueImpl.cpp:147–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

145//
146
147CSubPicQueue::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
167CSubPicQueue::~CSubPicQueue()
168{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected