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
a21e7c46
Commit
a21e7c46
authored
Aug 12, 2022
by
Rémi Bernon
Committed by
Alexandre Julliard
Oct 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winegstreamer: Implement AAC decoder MFT.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=47084
parent
4199bb7f
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
8 deletions
+1
-8
transform.c
dlls/mf/tests/transform.c
+1
-8
aac_decoder.c
dlls/winegstreamer/aac_decoder.c
+0
-0
No files found.
dlls/mf/tests/transform.c
View file @
a21e7c46
...
...
@@ -1918,13 +1918,10 @@ static void test_aac_decoder(void)
check_mft_optional_methods
(
transform
,
1
);
check_mft_get_attributes
(
transform
,
expect_transform_attributes
,
FALSE
);
todo_wine
check_mft_get_input_stream_info
(
transform
,
S_OK
,
&
input_info
);
todo_wine
check_mft_get_output_stream_info
(
transform
,
S_OK
,
&
output_info
);
hr
=
IMFTransform_GetOutputAvailableType
(
transform
,
0
,
0
,
&
media_type
);
todo_wine
ok
(
hr
==
MF_E_TRANSFORM_TYPE_NOT_SET
,
"GetOutputAvailableType returned %#lx
\n
"
,
hr
);
i
=
-
1
;
...
...
@@ -1938,14 +1935,10 @@ static void test_aac_decoder(void)
ok
(
ret
<=
1
,
"Release returned %lu
\n
"
,
ret
);
winetest_pop_context
();
}
todo_wine
ok
(
hr
==
MF_E_NO_MORE_TYPES
,
"GetInputAvailableType returned %#lx
\n
"
,
hr
);
todo_wine
ok
(
i
==
ARRAY_SIZE
(
expect_available_inputs
)
||
broken
(
i
==
2
)
/* w7 */
||
broken
(
i
==
4
)
/* w8 */
,
"%lu input media types
\n
"
,
i
);
if
(
hr
==
E_NOTIMPL
)
goto
skip_tests
;
/* setting output media type first doesn't work */
check_mft_set_output_type
(
transform
,
output_type_desc
,
MF_E_TRANSFORM_TYPE_NOT_SET
);
...
...
@@ -2023,6 +2016,7 @@ static void test_aac_decoder(void)
ok
(
i
==
1
,
"got %lu output samples
\n
"
,
i
);
ret
=
check_mf_sample_collection
(
output_samples
,
output_sample_desc
,
L"aacdecdata.bin"
);
todo_wine_if
(
ret
<=
5
)
ok
(
ret
==
0
,
"got %lu%% diff
\n
"
,
ret
);
IMFCollection_Release
(
output_samples
);
...
...
@@ -2038,7 +2032,6 @@ static void test_aac_decoder(void)
ret
=
IMFSample_Release
(
input_sample
);
ok
(
ret
==
0
,
"Release returned %lu
\n
"
,
ret
);
skip_tests:
ret
=
IMFTransform_Release
(
transform
);
ok
(
ret
==
0
,
"Release returned %lu
\n
"
,
ret
);
...
...
dlls/winegstreamer/aac_decoder.c
View file @
a21e7c46
This diff is collapsed.
Click to expand it.
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