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
7ee1b20d
Commit
7ee1b20d
authored
Feb 21, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Feb 24, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mp3dmod: Implement IMediaObject::GetInputStreamInfo().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
06fa9bd3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
mp3dmod.c
dlls/mp3dmod/mp3dmod.c
+4
-2
mp3dmod.c
dlls/mp3dmod/tests/mp3dmod.c
+5
-0
No files found.
dlls/mp3dmod/mp3dmod.c
View file @
7ee1b20d
...
...
@@ -145,9 +145,11 @@ static HRESULT WINAPI MediaObject_GetStreamCount(IMediaObject *iface, DWORD *inp
static
HRESULT
WINAPI
MediaObject_GetInputStreamInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
{
FIXME
(
"(%p)->(%d, %p) stub!
\n
"
,
iface
,
index
,
flags
);
TRACE
(
"iface %p, index %u, flags %p.
\n
"
,
iface
,
index
,
flags
);
return
E_NOTIMPL
;
*
flags
=
0
;
return
S_OK
;
}
static
HRESULT
WINAPI
MediaObject_GetOutputStreamInfo
(
IMediaObject
*
iface
,
DWORD
index
,
DWORD
*
flags
)
...
...
dlls/mp3dmod/tests/mp3dmod.c
View file @
7ee1b20d
...
...
@@ -301,6 +301,11 @@ static void test_stream_info(void)
ok
(
input_count
==
1
,
"Got input count %u.
\n
"
,
input_count
);
ok
(
output_count
==
1
,
"Got output count %u.
\n
"
,
output_count
);
flags
=
0xdeadbeef
;
hr
=
IMediaObject_GetInputStreamInfo
(
dmo
,
0
,
&
flags
);
ok
(
hr
==
S_OK
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
!
flags
,
"Got flags %#x.
\n
"
,
flags
);
IMediaObject_Release
(
dmo
);
}
...
...
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