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
283d4bab
Commit
283d4bab
authored
Feb 20, 2024
by
Zhiyi Zhang
Committed by
Alexandre Julliard
Mar 25, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfmediaengine: Implement IMFMediaEngineEx::SetCurrentTimeEx().
parent
2bcc87b3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
main.c
dlls/mfmediaengine/main.c
+17
-2
No files found.
dlls/mfmediaengine/main.c
View file @
283d4bab
...
...
@@ -3020,9 +3020,24 @@ static HRESULT WINAPI media_engine_SetRealTimeMode(IMFMediaEngineEx *iface, BOOL
static
HRESULT
WINAPI
media_engine_SetCurrentTimeEx
(
IMFMediaEngineEx
*
iface
,
double
seektime
,
MF_MEDIA_ENGINE_SEEK_MODE
mode
)
{
FIXME
(
"%p, %f, %#x stub.
\n
"
,
iface
,
seektime
,
mode
);
struct
media_engine
*
engine
=
impl_from_IMFMediaEngineEx
(
iface
);
HRESULT
hr
;
return
E_NOTIMPL
;
TRACE
(
"%p, %f, %#x.
\n
"
,
iface
,
seektime
,
mode
);
if
(
mode
)
FIXME
(
"mode %#x is ignored.
\n
"
,
mode
);
EnterCriticalSection
(
&
engine
->
cs
);
if
(
engine
->
flags
&
FLAGS_ENGINE_SHUT_DOWN
)
hr
=
MF_E_SHUTDOWN
;
else
hr
=
media_engine_set_current_time
(
engine
,
seektime
);
LeaveCriticalSection
(
&
engine
->
cs
);
return
hr
;
}
static
HRESULT
WINAPI
media_engine_EnableTimeUpdateTimer
(
IMFMediaEngineEx
*
iface
,
BOOL
enable
)
...
...
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