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
14003b00
Commit
14003b00
authored
Oct 21, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 21, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr/mixer: Maintain streaming state flag.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e2a4b8a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
mixer.c
dlls/evr/mixer.c
+13
-0
No files found.
dlls/evr/mixer.c
View file @
14003b00
...
...
@@ -89,6 +89,7 @@ struct video_mixer
IMFAttributes
*
attributes
;
IMFAttributes
*
internal_attributes
;
unsigned
int
mixing_flags
;
unsigned
int
is_streaming
;
COLORREF
bkgnd_color
;
LONGLONG
lower_bound
;
LONGLONG
upper_bound
;
...
...
@@ -984,6 +985,17 @@ static HRESULT WINAPI video_mixer_transform_ProcessMessage(IMFTransform *iface,
break
;
case
MFT_MESSAGE_NOTIFY_BEGIN_STREAMING
:
case
MFT_MESSAGE_NOTIFY_END_STREAMING
:
EnterCriticalSection
(
&
mixer
->
cs
);
mixer
->
is_streaming
=
message
==
MFT_MESSAGE_NOTIFY_BEGIN_STREAMING
;
LeaveCriticalSection
(
&
mixer
->
cs
);
break
;
case
MFT_MESSAGE_COMMAND_DRAIN
:
break
;
...
...
@@ -1016,6 +1028,7 @@ static HRESULT WINAPI video_mixer_transform_ProcessInput(IMFTransform *iface, DW
hr
=
MF_E_NOTACCEPTING
;
else
{
mixer
->
is_streaming
=
1
;
input
->
sample
=
sample
;
IMFSample_AddRef
(
input
->
sample
);
}
...
...
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