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

Method GetDeliveryBuffer

common/baseclasses/amfilter.cpp:2662–2674  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2660 dangers and restrictions apply here as described below for Deliver() */
2661
2662HRESULT
2663CBaseOutputPin::GetDeliveryBuffer(__deref_out IMediaSample **ppSample, __in_opt REFERENCE_TIME *pStartTime,
2664 __in_opt REFERENCE_TIME *pEndTime, DWORD dwFlags)
2665{
2666 if (m_pAllocator != NULL)
2667 {
2668 return m_pAllocator->GetBuffer(ppSample, pStartTime, pEndTime, dwFlags);
2669 }
2670 else
2671 {
2672 return E_NOINTERFACE;
2673 }
2674}
2675
2676/* Deliver a filled-in sample to the connected input pin. NOTE the object must
2677 have locked itself before calling us otherwise we may get halfway through

Callers

nothing calls this directly

Calls 1

GetBufferMethod · 0.45

Tested by

no test coverage detected