Commit d4ccba0e authored by Nikolay Sivov's avatar Nikolay Sivov Committed by Alexandre Julliard

mfreadwrite/writer: Notify encoder on BeginWriting().

parent 17da8aa9
......@@ -237,7 +237,8 @@ static HRESULT WINAPI sink_writer_BeginWriting(IMFSinkWriter *iface)
WARN("Failed to subscribe to events for steam %u, hr %#lx.\n", i, hr);
}
/* FIXME: notify the encoder */
if (stream->encoder)
IMFTransform_ProcessMessage(stream->encoder, MFT_MESSAGE_NOTIFY_BEGIN_STREAMING, 0);
}
if (SUCCEEDED(hr))
......
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