mf/tests: Use separate session instance for events tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
30cf1bef0f
commit
34c52b946a
|
@ -1041,8 +1041,6 @@ todo_wine
|
|||
|
||||
IMFGetService_Release(gs);
|
||||
|
||||
test_session_events(session);
|
||||
|
||||
IMFMediaSession_Release(session);
|
||||
|
||||
hr = MFCreateMediaSession(NULL, &session);
|
||||
|
@ -1077,6 +1075,14 @@ todo_wine
|
|||
|
||||
IMFAttributes_Release(attributes);
|
||||
|
||||
/* Basic events behavior. */
|
||||
hr = MFCreateMediaSession(NULL, &session);
|
||||
ok(hr == S_OK, "Failed to create media session, hr %#x.\n", hr);
|
||||
|
||||
test_session_events(session);
|
||||
|
||||
IMFMediaSession_Release(session);
|
||||
|
||||
hr = MFShutdown();
|
||||
ok(hr == S_OK, "Shutdown failure, hr %#x.\n", hr);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue