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
6de1cbfe
Commit
6de1cbfe
authored
Aug 11, 2023
by
Ziqing Hui
Committed by
Alexandre Julliard
Aug 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement GetStreamSinkCount for media sink.
parent
161e34bd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
2 deletions
+11
-2
media_sink.c
dlls/winegstreamer/media_sink.c
+11
-2
No files found.
dlls/winegstreamer/media_sink.c
View file @
6de1cbfe
...
...
@@ -624,9 +624,18 @@ static HRESULT WINAPI media_sink_RemoveStreamSink(IMFFinalizableMediaSink *iface
static
HRESULT
WINAPI
media_sink_GetStreamSinkCount
(
IMFFinalizableMediaSink
*
iface
,
DWORD
*
count
)
{
FIXME
(
"iface %p, count %p stub!
\n
"
,
iface
,
count
);
struct
media_sink
*
media_sink
=
impl_from_IMFFinalizableMediaSink
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"iface %p, count %p.
\n
"
,
iface
,
count
);
if
(
!
count
)
return
E_POINTER
;
EnterCriticalSection
(
&
media_sink
->
cs
);
*
count
=
list_count
(
&
media_sink
->
stream_sinks
);
LeaveCriticalSection
(
&
media_sink
->
cs
);
return
S_OK
;
}
static
HRESULT
WINAPI
media_sink_GetStreamSinkByIndex
(
IMFFinalizableMediaSink
*
iface
,
DWORD
index
,
...
...
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