Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
bd28c369
Commit
bd28c369
authored
Dec 10, 2021
by
Nikolay Sivov
Committed by
Alexandre Julliard
Dec 10, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Set MF_MT_AUDIO_BLOCK_ALIGNMENT attribute for raw types.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
d8f13932
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
mfplat.c
dlls/winegstreamer/mfplat.c
+1
-0
No files found.
dlls/winegstreamer/mfplat.c
View file @
bd28c369
...
...
@@ -564,6 +564,7 @@ static IMFMediaType *mf_media_type_from_wg_format_audio(const struct wg_format *
IMFMediaType_SetUINT32
(
type
,
&
MF_MT_AUDIO_NUM_CHANNELS
,
format
->
u
.
audio
.
channels
);
IMFMediaType_SetUINT32
(
type
,
&
MF_MT_AUDIO_CHANNEL_MASK
,
format
->
u
.
audio
.
channel_mask
);
IMFMediaType_SetUINT32
(
type
,
&
MF_MT_ALL_SAMPLES_INDEPENDENT
,
TRUE
);
IMFMediaType_SetUINT32
(
type
,
&
MF_MT_AUDIO_BLOCK_ALIGNMENT
,
format
->
u
.
audio
.
channels
*
audio_formats
[
i
].
depth
/
8
);
return
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