| Previous | Next |
| MF_E_SAMPLEALLOCATOR_CANCELED | MF_E_SINK_ALREADYSTOPPED |
MF_E_SAMPLEALLOCATOR_EMPTY
MF_E_SAMPLEALLOCATOR_EMPTY means the allocator's current pool has no sample available for the request. This is not automatically an out-of-memory condition: allocated video samples can still be held by the presenter, mixer, decoder, application, or another asynchronous stage.
Find which samples have not returned to the pool
- Count successful
AllocateSamplecalls and sample releases for the active allocator generation. - Use allocator release notifications when available to see when a sample actually becomes reusable.
- Inspect extra COM references and queues that retain
IMFSampleor its Direct3D surface after rendering work should be complete.
The allocator is initialized with a requested number of frames, and released samples return to the available pool. Increasing that count may hide a leak or stalled consumer. First establish whether the pool is merely experiencing expected back pressure or whether a sample is never returned.
Microsoft: AllocateSample · Microsoft: allocator initialization · Microsoft: sample release notification
Looking for a different code? Search another status or error code.