Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
457258e7
Commit
457258e7
authored
Jun 15, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Jun 15, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Let async command handle request token.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
f4ae8117
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
media_source.c
dlls/winegstreamer/media_source.c
+5
-2
No files found.
dlls/winegstreamer/media_source.c
View file @
457258e7
...
...
@@ -170,6 +170,11 @@ static ULONG WINAPI source_async_command_Release(IUnknown *iface)
{
if
(
command
->
op
==
SOURCE_ASYNC_START
)
PropVariantClear
(
&
command
->
u
.
start
.
position
);
else
if
(
command
->
op
==
SOURCE_ASYNC_REQUEST_SAMPLE
)
{
if
(
command
->
u
.
request_sample
.
token
)
IUnknown_Release
(
command
->
u
.
request_sample
.
token
);
}
free
(
command
);
}
...
...
@@ -467,8 +472,6 @@ static void wait_on_sample(struct media_stream *stream, IUnknown *token)
case
WG_PARSER_EVENT_EOS
:
stream
->
eos
=
TRUE
;
if
(
token
)
IUnknown_Release
(
token
);
IMFMediaEventQueue_QueueEventParamVar
(
stream
->
event_queue
,
MEEndOfStream
,
&
GUID_NULL
,
S_OK
,
&
empty_var
);
dispatch_end_of_presentation
(
stream
->
parent_source
);
return
;
...
...
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