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
3b230b58
Commit
3b230b58
authored
Nov 11, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 11, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/session: Forward MEQualityNotify event to the quality manager.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
fa0beb85
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
0 deletions
+16
-0
session.c
dlls/mf/session.c
+16
-0
No files found.
dlls/mf/session.c
View file @
3b230b58
...
...
@@ -2910,6 +2910,7 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
IMFMediaEventGenerator
*
event_source
;
IMFMediaEvent
*
event
=
NULL
;
MediaEventType
event_type
;
IUnknown
*
object
=
NULL
;
IMFMediaSource
*
source
;
IMFMediaStream
*
stream
;
PROPVARIANT
value
;
...
...
@@ -3058,6 +3059,21 @@ static HRESULT WINAPI session_events_callback_Invoke(IMFAsyncCallback *iface, IM
LeaveCriticalSection
(
&
session
->
cs
);
break
;
case
MEQualityNotify
:
if
(
session
->
quality_manager
)
{
if
(
FAILED
(
IMFMediaEventGenerator_QueryInterface
(
event_source
,
&
IID_IMFStreamSink
,
(
void
**
)
&
object
)))
IMFMediaEventGenerator_QueryInterface
(
event_source
,
&
IID_IMFTransform
,
(
void
**
)
&
object
);
if
(
object
)
{
IMFQualityManager_NotifyQualityEvent
(
session
->
quality_manager
,
object
,
event
);
IUnknown_Release
(
object
);
}
}
break
;
default:
;
}
...
...
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