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
af4d5c96
Commit
af4d5c96
authored
May 22, 2020
by
Nikolay Sivov
Committed by
Alexandre Julliard
May 22, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf/topology: Remove logic already present in stream resize helper.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
e196619f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
8 deletions
+0
-8
topology.c
dlls/mf/topology.c
+0
-8
No files found.
dlls/mf/topology.c
View file @
af4d5c96
...
...
@@ -1612,15 +1612,7 @@ static HRESULT WINAPI topology_node_SetInputPrefType(IMFTopologyNode *iface, DWO
break
;
default:
if
(
SUCCEEDED
(
hr
=
topology_node_reserve_streams
(
&
node
->
inputs
,
index
)))
{
if
(
index
>=
node
->
inputs
.
count
)
{
memset
(
&
node
->
inputs
.
streams
[
node
->
inputs
.
count
],
0
,
(
index
-
node
->
inputs
.
count
+
1
)
*
sizeof
(
*
node
->
inputs
.
streams
));
node
->
inputs
.
count
=
index
+
1
;
}
topology_node_set_stream_type
(
&
node
->
inputs
.
streams
[
index
],
mediatype
);
}
}
LeaveCriticalSection
(
&
node
->
cs
);
...
...
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