MCPcopy Create free account
hub / github.com/Nevcairiel/LAVFilters / PostConnect

Method PostConnect

decoder/LAVVideo/DecodeManager.cpp:287–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

285}
286
287STDMETHODIMP CDecodeManager::PostConnect(IPin *pPin)
288{
289 CAutoLock decoderLock(this);
290 HRESULT hr = S_OK;
291 if (m_pDecoder)
292 {
293 hr = m_pDecoder->PostConnect(pPin);
294 if (FAILED(hr))
295 {
296 m_bHWDecoderFailed = TRUE;
297 CMediaType &mt = m_pLAVVideo->GetInputMediaType();
298 hr = CreateDecoder(&mt, m_Codec, &m_SideDataCache);
299 }
300 }
301 return hr;
302}
303
304STDMETHODIMP CDecodeManager::BreakConnect()
305{

Callers 1

CompleteConnectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected