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
805b3e46
Commit
805b3e46
authored
Nov 02, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Nov 02, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr/mixer: Fix number of substreams in CreateVideoProcessor().
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
5f9bcb13
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
mixer.c
dlls/evr/mixer.c
+3
-2
No files found.
dlls/evr/mixer.c
View file @
805b3e46
...
...
@@ -35,7 +35,8 @@
WINE_DEFAULT_DEBUG_CHANNEL
(
evr
);
#define MAX_MIXER_INPUT_STREAMS 16
#define MAX_MIXER_INPUT_SUBSTREAMS (15)
#define MAX_MIXER_INPUT_STREAMS (MAX_MIXER_INPUT_SUBSTREAMS + 1)
struct
input_stream
{
...
...
@@ -932,7 +933,7 @@ static HRESULT WINAPI video_mixer_transform_SetOutputType(IMFTransform *iface, D
rt_format
=
subtype
.
Data1
;
if
(
SUCCEEDED
(
hr
=
IDirectXVideoProcessorService_CreateVideoProcessor
(
service
,
&
mixer
->
output
.
rt_formats
[
i
].
device
,
&
video_desc
,
rt_format
,
MAX_MIXER_INPUT_STREAMS
,
&
mixer
->
processor
)))
&
video_desc
,
rt_format
,
MAX_MIXER_INPUT_S
UBS
TREAMS
,
&
mixer
->
processor
)))
{
if
(
mixer
->
output
.
media_type
)
IMFMediaType_Release
(
mixer
->
output
.
media_type
);
...
...
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