Commit 2192d014 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

evr/allocator: Call user callback when sample is returned to the pool.

parent 03a10db2
......@@ -815,6 +815,9 @@ static HRESULT WINAPI sample_allocator_tracking_callback_Invoke(IMFAsyncCallback
IUnknown_Release(sample);
if (allocator->callback)
IMFVideoSampleAllocatorNotify_NotifyRelease(allocator->callback);
LeaveCriticalSection(&allocator->cs);
return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment