Commit 39cac934 authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mf/session: Keep a reference to the original activation object when binding sink nodes.

parent b3461c48
......@@ -32,6 +32,10 @@
#include "mf_private.h"
#include "initguid.h"
DEFINE_GUID(_MF_TOPONODE_IMFActivate, 0x33706f4a, 0x309a, 0x49be, 0xa8, 0xdd, 0xe7, 0xc0, 0x87, 0x5e, 0xb6, 0x79);
WINE_DEFAULT_DEBUG_CHANNEL(mfplat);
enum session_command
......@@ -683,6 +687,9 @@ static HRESULT session_bind_output_nodes(IMFTopology *topology)
IMFMediaSink_Release(media_sink);
}
if (SUCCEEDED(hr))
IMFTopologyNode_SetUnknown(node, &_MF_TOPONODE_IMFActivate, (IUnknown *)activate);
IMFActivate_Release(activate);
}
}
......
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