Called when a video sample is returned to the allocator.
public:
HRESULT NotifyRelease()
Type: HRESULTÂ
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
To get a video sample from the allocator, call the IMFVideoSampleAllocator::AllocateSample method. When the sample is released and then returned to the pool of available samples, the allocator invokes the NotifyRelease method.
Header: Declared in mfidl.h.