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

Method CSubPicQueueImpl

Source/SubPic/SubPicQueueImpl.cpp:35–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33const double CSubPicQueueImpl::DEFAULT_FPS = 24/1.001;
34
35CSubPicQueueImpl::CSubPicQueueImpl(ISubPicAllocator* pAllocator, HRESULT* phr)
36 : CUnknown(L"CSubPicQueueImpl", nullptr)
37 , m_pAllocator(pAllocator)
38{
39 if (phr) {
40 *phr = S_OK;
41 }
42
43 if (!m_pAllocator) {
44 if (phr) {
45 *phr = E_FAIL;
46 }
47 return;
48 }
49}
50
51CSubPicQueueImpl::~CSubPicQueueImpl()
52{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected