| 2660 | dangers and restrictions apply here as described below for Deliver() */ |
| 2661 | |
| 2662 | HRESULT |
| 2663 | CBaseOutputPin::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 |