Signed-off-by: Nikolay Sivov nsivov@codeweavers.com --- dlls/mfplay/player.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/mfplay/player.c b/dlls/mfplay/player.c index 7360042ee54..2f868ce3b61 100644 --- a/dlls/mfplay/player.c +++ b/dlls/mfplay/player.c @@ -1415,8 +1415,9 @@ static HRESULT WINAPI media_player_session_events_callback_Invoke(IMFAsyncCallba media_player_set_state(player, state); media_event_create(player, event_type, event_status, &event); LeaveCriticalSection(&player->cs); - - /* FIXME: set pMediaItem */ + event->u.generic.item = item; + if (event->u.generic.item) + IMFPMediaItem_AddRef(event->u.generic.item); media_player_queue_event(player, event);
break;