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
0ca0b5a5
Commit
0ca0b5a5
authored
Oct 26, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/evr: Implement OnClockSetRate().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
8680afcc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
2 deletions
+16
-2
evr.c
dlls/mf/evr.c
+16
-2
No files found.
dlls/mf/evr.c
View file @
0ca0b5a5
...
@@ -1499,9 +1499,23 @@ static HRESULT WINAPI video_renderer_clock_sink_OnClockRestart(IMFClockStateSink
...
@@ -1499,9 +1499,23 @@ static HRESULT WINAPI video_renderer_clock_sink_OnClockRestart(IMFClockStateSink
static
HRESULT
WINAPI
video_renderer_clock_sink_OnClockSetRate
(
IMFClockStateSink
*
iface
,
MFTIME
systime
,
float
rate
)
static
HRESULT
WINAPI
video_renderer_clock_sink_OnClockSetRate
(
IMFClockStateSink
*
iface
,
MFTIME
systime
,
float
rate
)
{
{
FIXME
(
"%p, %s, %f.
\n
"
,
iface
,
debugstr_time
(
systime
),
rate
);
struct
video_renderer
*
renderer
=
impl_from_IMFClockStateSink
(
iface
);
IMFClockStateSink
*
sink
;
return
E_NOTIMPL
;
TRACE
(
"%p, %s, %f.
\n
"
,
iface
,
debugstr_time
(
systime
),
rate
);
EnterCriticalSection
(
&
renderer
->
cs
);
IMFVideoPresenter_OnClockSetRate
(
renderer
->
presenter
,
systime
,
rate
);
if
(
SUCCEEDED
(
IMFTransform_QueryInterface
(
renderer
->
mixer
,
&
IID_IMFClockStateSink
,
(
void
**
)
&
sink
)))
{
IMFClockStateSink_OnClockSetRate
(
sink
,
systime
,
rate
);
IMFClockStateSink_Release
(
sink
);
}
LeaveCriticalSection
(
&
renderer
->
cs
);
return
S_OK
;
}
}
static
const
IMFClockStateSinkVtbl
video_renderer_clock_sink_vtbl
=
static
const
IMFClockStateSinkVtbl
video_renderer_clock_sink_vtbl
=
...
...
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