Commit 98c9aff0 authored by Rémi Bernon's avatar Rémi Bernon Committed by Alexandre Julliard

mf: Release video renderer services before re-initializing.

parent d21fee12
......@@ -1707,6 +1707,8 @@ static HRESULT video_renderer_initialize(struct video_renderer *renderer, IMFTra
{
HRESULT hr;
video_renderer_release_services(renderer);
if (renderer->mixer)
{
IMFTransform_Release(renderer->mixer);
......
......@@ -4766,7 +4766,6 @@ static void test_evr(void)
IMFMediaSink_Release(sink);
ref = IMFVideoRenderer_Release(video_renderer);
todo_wine
ok(ref == 0, "Release returned %ld\n", ref);
hr = MFCreateVideoRendererActivate(NULL, NULL);
......
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