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
7bbf8e53
Commit
7bbf8e53
authored
Apr 06, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Apr 06, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mfplay: Implement IsProtected().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
4e7f9522
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
Makefile.in
dlls/mfplay/Makefile.in
+1
-1
player.c
dlls/mfplay/player.c
+6
-2
No files found.
dlls/mfplay/Makefile.in
View file @
7bbf8e53
MODULE
=
mfplay.dll
IMPORTLIB
=
mfplay
IMPORTS
=
mfplat uuid mfuuid
IMPORTS
=
mfplat
mf
uuid mfuuid
EXTRADLLFLAGS
=
-mno-cygwin
-Wb
,--prefer-native
...
...
dlls/mfplay/player.c
View file @
7bbf8e53
...
...
@@ -215,9 +215,13 @@ static HRESULT WINAPI media_item_HasAudio(IMFPMediaItem *iface, BOOL *has_audio,
static
HRESULT
WINAPI
media_item_IsProtected
(
IMFPMediaItem
*
iface
,
BOOL
*
protected
)
{
FIXME
(
"%p, %p.
\n
"
,
iface
,
protected
);
struct
media_item
*
item
=
impl_from_IMFPMediaItem
(
iface
);
return
E_NOTIMPL
;
TRACE
(
"%p, %p.
\n
"
,
iface
,
protected
);
*
protected
=
MFRequireProtectedEnvironment
(
item
->
pd
)
==
S_OK
;
return
S_OK
;
}
static
HRESULT
WINAPI
media_item_GetDuration
(
IMFPMediaItem
*
iface
,
REFGUID
format
,
PROPVARIANT
*
value
)
...
...
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