Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
85e91d19
Commit
85e91d19
authored
Apr 13, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 13, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplay: Set media item pointer for state change events.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
57dd3938
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
player.c
dlls/mfplay/player.c
+3
-2
No files found.
dlls/mfplay/player.c
View file @
85e91d19
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment