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
3e0a9877
Commit
3e0a9877
authored
Nov 10, 2021
by
Zebediah Figura
Committed by
Alexandre Julliard
Nov 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement IWMReaderAdvanced::SetStreamsSelected().
Signed-off-by:
Zebediah Figura
<
zfigura@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5d0858ee
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
wm_asyncreader.c
dlls/winegstreamer/wm_asyncreader.c
+14
-6
No files found.
dlls/winegstreamer/wm_asyncreader.c
View file @
3e0a9877
...
...
@@ -85,7 +85,12 @@ static DWORD WINAPI stream_thread(void *arg)
for
(
i
=
0
;
i
<
stream_count
;
++
i
)
{
hr
=
wm_reader_get_stream_sample
(
&
reader
->
reader
.
streams
[
i
],
&
sample
,
&
pts
,
&
duration
,
&
flags
);
struct
wm_stream
*
stream
=
&
reader
->
reader
.
streams
[
i
];
if
(
stream
->
selection
==
WMT_OFF
)
continue
;
hr
=
wm_reader_get_stream_sample
(
stream
,
&
sample
,
&
pts
,
&
duration
,
&
flags
);
if
(
hr
==
S_OK
)
{
if
(
reader
->
user_clock
)
...
...
@@ -441,12 +446,15 @@ static HRESULT WINAPI WMReaderAdvanced_GetManualStreamSelection(IWMReaderAdvance
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
WMReaderAdvanced_SetStreamsSelected
(
IWMReaderAdvanced6
*
iface
,
WORD
stream_count
,
WORD
*
stream_numbers
,
WMT_STREAM_SELECTION
*
selections
)
static
HRESULT
WINAPI
WMReaderAdvanced_SetStreamsSelected
(
IWMReaderAdvanced6
*
iface
,
WORD
count
,
WORD
*
stream_numbers
,
WMT_STREAM_SELECTION
*
selections
)
{
struct
async_reader
*
This
=
impl_from_IWMReaderAdvanced6
(
iface
);
FIXME
(
"(%p)->(%d %p %p)
\n
"
,
This
,
stream_count
,
stream_numbers
,
selections
);
return
E_NOTIMPL
;
struct
async_reader
*
reader
=
impl_from_IWMReaderAdvanced6
(
iface
);
TRACE
(
"reader %p, count %u, stream_numbers %p, selections %p.
\n
"
,
reader
,
count
,
stream_numbers
,
selections
);
return
wm_reader_set_streams_selected
(
&
reader
->
reader
,
count
,
stream_numbers
,
selections
);
}
static
HRESULT
WINAPI
WMReaderAdvanced_GetStreamSelected
(
IWMReaderAdvanced6
*
iface
,
WORD
stream_num
,
...
...
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