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
e961e082
Commit
e961e082
authored
Aug 22, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Sep 23, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Query the IWMSyncReader2 interface in the async reader.
parent
2c7fdd25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
wm_asyncreader.c
dlls/winegstreamer/wm_asyncreader.c
+6
-0
No files found.
dlls/winegstreamer/wm_asyncreader.c
View file @
e961e082
...
...
@@ -64,6 +64,7 @@ struct async_reader
IUnknown
*
reader_inner
;
LONG
refcount
;
IWMSyncReader2
*
reader
;
struct
wm_reader
*
wm_reader
;
CRITICAL_SECTION
cs
;
...
...
@@ -1764,6 +1765,11 @@ HRESULT WINAPI winegstreamer_create_wm_async_reader(IWMReader **reader)
if
(
FAILED
(
hr
=
winegstreamer_create_wm_sync_reader
((
IUnknown
*
)
&
object
->
IWMReader_iface
,
(
void
**
)
&
object
->
reader_inner
)))
goto
failed
;
if
(
FAILED
(
hr
=
IUnknown_QueryInterface
(
object
->
reader_inner
,
&
IID_IWMSyncReader2
,
(
void
**
)
&
object
->
reader
)))
goto
failed
;
IWMReader_Release
(
&
object
->
IWMReader_iface
);
object
->
wm_reader
=
wm_reader_from_sync_reader_inner
(
object
->
reader_inner
);
InitializeCriticalSection
(
&
object
->
cs
);
...
...
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