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
34d85311
Commit
34d85311
authored
Nov 02, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 03, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement IWMReader::GetOutputCount().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
42c82012
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
wm_asyncreader.c
dlls/winegstreamer/wm_asyncreader.c
+6
-6
wmvcore.c
dlls/wmvcore/tests/wmvcore.c
+1
-1
No files found.
dlls/winegstreamer/wm_asyncreader.c
View file @
34d85311
...
...
@@ -102,15 +102,15 @@ static HRESULT WINAPI WMReader_Close(IWMReader *iface)
return
hr
;
}
static
HRESULT
WINAPI
WMReader_GetOutputCount
(
IWMReader
*
iface
,
DWORD
*
outputs
)
static
HRESULT
WINAPI
WMReader_GetOutputCount
(
IWMReader
*
iface
,
DWORD
*
count
)
{
struct
async_reader
*
This
=
impl_from_IWMReader
(
iface
);
FIXME
(
"(%p)->(%p)
\n
"
,
This
,
outputs
);
struct
async_reader
*
reader
=
impl_from_IWMReader
(
iface
);
if
(
!
outputs
)
return
E_INVALIDARG
;
TRACE
(
"reader %p, count %p.
\n
"
,
reader
,
count
);
*
outputs
=
0
;
EnterCriticalSection
(
&
reader
->
reader
.
cs
);
*
count
=
reader
->
reader
.
stream_count
;
LeaveCriticalSection
(
&
reader
->
reader
.
cs
);
return
S_OK
;
}
...
...
dlls/wmvcore/tests/wmvcore.c
View file @
34d85311
...
...
@@ -1264,7 +1264,7 @@ static void test_async_reader_streaming(void)
count
=
0xdeadbeef
;
hr
=
IWMReader_GetOutputCount
(
reader
,
&
count
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
todo_wine
ok
(
count
==
2
,
"Got count %u.
\n
"
,
count
);
ok
(
count
==
2
,
"Got count %u.
\n
"
,
count
);
for
(
i
=
0
;
i
<
2
;
++
i
)
{
...
...
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