mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 13:10:05 +00:00
mf/tests: Avoid cast from COM object to interface.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org> Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
2a08366997
commit
3fa19c8c75
|
@ -1139,7 +1139,7 @@ static void test_session_events(IMFMediaSession *session)
|
||||||
ok(hr == MF_S_MULTIPLE_BEGIN, "Unexpected hr %#x.\n", hr);
|
ok(hr == MF_S_MULTIPLE_BEGIN, "Unexpected hr %#x.\n", hr);
|
||||||
|
|
||||||
/* Same callback, different state. */
|
/* Same callback, different state. */
|
||||||
hr = IMFMediaSession_BeginGetEvent(session, &callback.IMFAsyncCallback_iface, (IUnknown *)&callback);
|
hr = IMFMediaSession_BeginGetEvent(session, &callback.IMFAsyncCallback_iface, (IUnknown *)&callback.IMFAsyncCallback_iface);
|
||||||
ok(hr == MF_E_MULTIPLE_BEGIN, "Unexpected hr %#x.\n", hr);
|
ok(hr == MF_E_MULTIPLE_BEGIN, "Unexpected hr %#x.\n", hr);
|
||||||
|
|
||||||
/* Different callback, same state. */
|
/* Different callback, same state. */
|
||||||
|
|
Loading…
Reference in a new issue