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
527723bb
Commit
527723bb
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 GetCharacteristics().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7bbf8e53
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 @
527723bb
...
...
@@ -295,9 +295,20 @@ static HRESULT WINAPI media_item_GetPresentationAttribute(IMFPMediaItem *iface,
static
HRESULT
WINAPI
media_item_GetCharacteristics
(
IMFPMediaItem
*
iface
,
MFP_MEDIAITEM_CHARACTERISTICS
*
flags
)
{
FIXME
(
"%p, %p.
\n
"
,
iface
,
flags
);
struct
media_item
*
item
=
impl_from_IMFPMediaItem
(
iface
);
HRESULT
hr
;
return
E_NOTIMPL
;
TRACE
(
"%p, %p.
\n
"
,
iface
,
flags
);
*
flags
=
0
;
if
(
SUCCEEDED
(
hr
=
IMFMediaSource_GetCharacteristics
(
item
->
source
,
flags
)))
{
*
flags
&=
(
MFP_MEDIAITEM_IS_LIVE
|
MFP_MEDIAITEM_CAN_SEEK
|
MFP_MEDIAITEM_CAN_PAUSE
|
MFP_MEDIAITEM_HAS_SLOW_SEEK
);
}
return
hr
;
}
static
HRESULT
WINAPI
media_item_SetStreamSink
(
IMFPMediaItem
*
iface
,
DWORD
index
,
IUnknown
*
sink
)
...
...
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