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
0820b125
Commit
0820b125
authored
Jan 28, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Jan 29, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
strmbase: Return S_FALSE from IEnumPins::Next() when the pin count changes.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
c3664153
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1 addition
and
5 deletions
+1
-5
avisplit.c
dlls/quartz/tests/avisplit.c
+0
-1
filesource.c
dlls/quartz/tests/filesource.c
+0
-1
mpegsplit.c
dlls/quartz/tests/mpegsplit.c
+0
-1
waveparser.c
dlls/quartz/tests/waveparser.c
+0
-1
filter.c
dlls/strmbase/filter.c
+1
-1
No files found.
dlls/quartz/tests/avisplit.c
View file @
0820b125
...
@@ -353,7 +353,6 @@ static void test_enum_pins(void)
...
@@ -353,7 +353,6 @@ static void test_enum_pins(void)
graph
=
connect_input
(
filter
,
filename
);
graph
=
connect_input
(
filter
,
filename
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
todo_wine
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IEnumPins_Reset
(
enum1
);
hr
=
IEnumPins_Reset
(
enum1
);
...
...
dlls/quartz/tests/filesource.c
View file @
0820b125
...
@@ -526,7 +526,6 @@ static void test_enum_pins(void)
...
@@ -526,7 +526,6 @@ static void test_enum_pins(void)
load_file
(
filter
,
filename
);
load_file
(
filter
,
filename
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
todo_wine
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IEnumPins_Reset
(
enum1
);
hr
=
IEnumPins_Reset
(
enum1
);
...
...
dlls/quartz/tests/mpegsplit.c
View file @
0820b125
...
@@ -347,7 +347,6 @@ static void test_enum_pins(void)
...
@@ -347,7 +347,6 @@ static void test_enum_pins(void)
graph
=
connect_input
(
filter
,
filename
);
graph
=
connect_input
(
filter
,
filename
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
todo_wine
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IEnumPins_Reset
(
enum1
);
hr
=
IEnumPins_Reset
(
enum1
);
...
...
dlls/quartz/tests/waveparser.c
View file @
0820b125
...
@@ -351,7 +351,6 @@ static void test_enum_pins(void)
...
@@ -351,7 +351,6 @@ static void test_enum_pins(void)
graph
=
connect_input
(
filter
,
filename
);
graph
=
connect_input
(
filter
,
filename
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
hr
=
IEnumPins_Next
(
enum1
,
1
,
pins
,
NULL
);
todo_wine
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
ok
(
hr
==
S_FALSE
,
"Got hr %#x.
\n
"
,
hr
);
hr
=
IEnumPins_Reset
(
enum1
);
hr
=
IEnumPins_Reset
(
enum1
);
...
...
dlls/strmbase/filter.c
View file @
0820b125
...
@@ -122,7 +122,7 @@ static HRESULT WINAPI enum_pins_Next(IEnumPins *iface, ULONG count, IPin **pins,
...
@@ -122,7 +122,7 @@ static HRESULT WINAPI enum_pins_Next(IEnumPins *iface, ULONG count, IPin **pins,
*
ret_count
=
0
;
*
ret_count
=
0
;
if
(
enum_pins
->
version
!=
enum_pins
->
filter
->
pin_version
)
if
(
enum_pins
->
version
!=
enum_pins
->
filter
->
pin_version
)
return
VFW_E_ENUM_OUT_OF_SYNC
;
return
S_FALSE
;
for
(
i
=
0
;
i
<
count
;
++
i
)
for
(
i
=
0
;
i
<
count
;
++
i
)
{
{
...
...
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