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
c3c51485
Commit
c3c51485
authored
Apr 07, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplay: Forward playback control methods to the session.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
11f4927f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
player.c
dlls/mfplay/player.c
+14
-6
No files found.
dlls/mfplay/player.c
View file @
c3c51485
...
...
@@ -651,23 +651,31 @@ static ULONG WINAPI media_player_Release(IMFPMediaPlayer *iface)
static
HRESULT
WINAPI
media_player_Play
(
IMFPMediaPlayer
*
iface
)
{
FIXME
(
"%p.
\n
"
,
iface
);
struct
media_player
*
player
=
impl_from_IMFPMediaPlayer
(
iface
);
PROPVARIANT
pos
;
return
E_NOTIMPL
;
TRACE
(
"%p.
\n
"
,
iface
);
pos
.
vt
=
VT_EMPTY
;
return
IMFMediaSession_Start
(
player
->
session
,
&
GUID_NULL
,
&
pos
);
}
static
HRESULT
WINAPI
media_player_Pause
(
IMFPMediaPlayer
*
iface
)
{
FIXME
(
"%p.
\n
"
,
iface
);
struct
media_player
*
player
=
impl_from_IMFPMediaPlayer
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"%p.
\n
"
,
iface
);
return
IMFMediaSession_Pause
(
player
->
session
);
}
static
HRESULT
WINAPI
media_player_Stop
(
IMFPMediaPlayer
*
iface
)
{
FIXME
(
"%p.
\n
"
,
iface
);
struct
media_player
*
player
=
impl_from_IMFPMediaPlayer
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"%p.
\n
"
,
iface
);
return
IMFMediaSession_Stop
(
player
->
session
);
}
static
HRESULT
WINAPI
media_player_FrameStep
(
IMFPMediaPlayer
*
iface
)
...
...
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