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
2d229084
Commit
2d229084
authored
Apr 21, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 21, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplay: Implement GetNativeVideoSize().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
b1203230
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
2 deletions
+13
-2
player.c
dlls/mfplay/player.c
+13
-2
No files found.
dlls/mfplay/player.c
View file @
2d229084
...
...
@@ -1243,9 +1243,20 @@ static HRESULT WINAPI media_player_SetMute(IMFPMediaPlayer *iface, BOOL mute)
static
HRESULT
WINAPI
media_player_GetNativeVideoSize
(
IMFPMediaPlayer
*
iface
,
SIZE
*
video
,
SIZE
*
arvideo
)
{
FIXME
(
"%p, %p, %p.
\n
"
,
iface
,
video
,
arvideo
);
struct
media_player
*
player
=
impl_from_IMFPMediaPlayer
(
iface
);
IMFVideoDisplayControl
*
display_control
;
HRESULT
hr
;
return
E_NOTIMPL
;
TRACE
(
"%p, %p, %p.
\n
"
,
iface
,
video
,
arvideo
);
if
(
SUCCEEDED
(
hr
=
MFGetService
((
IUnknown
*
)
player
->
session
,
&
MR_VIDEO_RENDER_SERVICE
,
&
IID_IMFVideoDisplayControl
,
(
void
**
)
&
display_control
)))
{
hr
=
IMFVideoDisplayControl_GetNativeVideoSize
(
display_control
,
video
,
arvideo
);
IMFVideoDisplayControl_Release
(
display_control
);
}
return
hr
;
}
static
HRESULT
WINAPI
media_player_GetIdealVideoSize
(
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