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
11594f56
Commit
11594f56
authored
Oct 12, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 12, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
evr/mixer: Use regular media type interface for the output stream.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
7ab646ad
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
mixer.c
dlls/evr/mixer.c
+5
-5
No files found.
dlls/evr/mixer.c
View file @
11594f56
...
...
@@ -47,8 +47,8 @@ struct input_stream
struct
output_stream
{
IMF
Video
MediaType
*
media_type
;
IMF
Video
MediaType
**
media_types
;
IMFMediaType
*
media_type
;
IMFMediaType
**
media_types
;
unsigned
int
type_count
;
};
...
...
@@ -175,11 +175,11 @@ static void video_mixer_clear_types(struct video_mixer *mixer)
}
for
(
i
=
0
;
i
<
mixer
->
output
.
type_count
;
++
i
)
{
IMF
Video
MediaType_Release
(
mixer
->
output
.
media_types
[
i
]);
IMFMediaType_Release
(
mixer
->
output
.
media_types
[
i
]);
}
heap_free
(
mixer
->
output
.
media_types
);
if
(
mixer
->
output
.
media_type
)
IMF
Video
MediaType_Release
(
mixer
->
output
.
media_type
);
IMFMediaType_Release
(
mixer
->
output
.
media_type
);
mixer
->
output
.
media_type
=
NULL
;
}
...
...
@@ -662,7 +662,7 @@ static HRESULT video_mixer_collect_output_types(struct video_mixer *mixer, const
for
(
i
=
0
;
i
<
count
;
++
i
)
{
subtype
.
Data1
=
rt_formats
[
i
];
MFCreateVideoMediaTypeFromSubtype
(
&
subtype
,
&
mixer
->
output
.
media_types
[
i
]);
MFCreateVideoMediaTypeFromSubtype
(
&
subtype
,
(
IMFVideoMediaType
**
)
&
mixer
->
output
.
media_types
[
i
]);
}
mixer
->
output
.
type_count
=
count
;
}
...
...
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