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
d5154e7e
Commit
d5154e7e
authored
Oct 26, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Oct 27, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement IWMSyncReader::GetStreamNumberForOutput().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d39747f4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
4 deletions
+8
-4
wm_syncreader.c
dlls/winegstreamer/wm_syncreader.c
+7
-3
wmvcore.c
dlls/wmvcore/tests/wmvcore.c
+1
-1
No files found.
dlls/winegstreamer/wm_syncreader.c
View file @
d5154e7e
...
...
@@ -145,10 +145,14 @@ static HRESULT WINAPI WMSyncReader_GetReadStreamSamples(IWMSyncReader2 *iface, W
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMSyncReader_GetStreamNumberForOutput
(
IWMSyncReader2
*
iface
,
DWORD
output
,
WORD
*
stream_num
)
static
HRESULT
WINAPI
WMSyncReader_GetStreamNumberForOutput
(
IWMSyncReader2
*
iface
,
DWORD
output
,
WORD
*
stream_number
)
{
struct
sync_reader
*
This
=
impl_from_IWMSyncReader2
(
iface
);
FIXME
(
"(%p)->(%u %p): stub!
\n
"
,
This
,
output
,
stream_num
);
struct
sync_reader
*
reader
=
impl_from_IWMSyncReader2
(
iface
);
TRACE
(
"reader %p, output %u, stream_number %p.
\n
"
,
reader
,
output
,
stream_number
);
*
stream_number
=
output
+
1
;
return
S_OK
;
}
...
...
dlls/wmvcore/tests/wmvcore.c
View file @
d5154e7e
...
...
@@ -721,7 +721,7 @@ static void test_sync_reader_types(void)
stream_number2
=
0xdead
;
hr
=
IWMSyncReader_GetStreamNumberForOutput
(
reader
,
output_number
,
&
stream_number2
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
todo_wine
ok
(
stream_number2
==
stream_number
,
"Expected stream number %u, got %u.
\n
"
,
stream_number
,
stream_number2
);
ok
(
stream_number2
==
stream_number
,
"Expected stream number %u, got %u.
\n
"
,
stream_number
,
stream_number2
);
hr
=
IWMSyncReader_GetOutputProps
(
reader
,
output_number
,
&
output_props
);
todo_wine
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
...
...
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