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
7f7c1d07
Commit
7f7c1d07
authored
Apr 04, 2008
by
Maarten Lankhorst
Committed by
Alexandre Julliard
Apr 07, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Add more state transitions to the filtergraph.
parent
98933362
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
3 deletions
+32
-3
filtergraph.c
dlls/quartz/tests/filtergraph.c
+32
-3
No files found.
dlls/quartz/tests/filtergraph.c
View file @
7f7c1d07
...
...
@@ -58,17 +58,46 @@ static void rungraph(void)
hr
=
IMediaControl_Run
(
pmc
);
ok
(
hr
==
S_FALSE
,
"Cannot run the graph returned: %x
\n
"
,
hr
);
Sleep
(
10
0
);
Sleep
(
10
);
/* Crash fun */
trace
(
"run -> stop
\n
"
);
hr
=
IMediaControl_Stop
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot stop the graph returned: %x
\n
"
,
hr
);
hr
=
IMediaControl_Run
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot start the graph returned: %x
\n
"
,
hr
);
Sleep
(
10
);
trace
(
"stop -> pause
\n
"
);
hr
=
IMediaControl_Pause
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot start the graph returned: %x
\n
"
,
hr
);
Sleep
(
10
);
trace
(
"pause -> run
\n
"
);
hr
=
IMediaControl_Run
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot pause the graph returned: %x
\n
"
,
hr
);
Sleep
(
10
);
trace
(
"run -> pause
\n
"
);
hr
=
IMediaControl_Pause
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot start the graph returned: %x
\n
"
,
hr
);
Sleep
(
10
);
trace
(
"pause -> stop
\n
"
);
hr
=
IMediaControl_Stop
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot start the graph returned: %x
\n
"
,
hr
);
Sleep
(
10
);
trace
(
"pause -> run
\n
"
);
hr
=
IMediaControl_Run
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot start the graph returned: %x
\n
"
,
hr
);
trace
(
"run -> stop
\n
"
);
hr
=
IMediaControl_Stop
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot start the graph returned: %x
\n
"
,
hr
);
trace
(
"stop -> run
\n
"
);
hr
=
IMediaControl_Run
(
pmc
);
ok
(
hr
==
S_OK
||
hr
==
S_FALSE
,
"Cannot start the graph returned: %x
\n
"
,
hr
);
hr
=
IGraphBuilder_QueryInterface
(
pgraph
,
&
IID_IMediaEvent
,
(
LPVOID
*
)
&
pme
);
ok
(
hr
==
S_OK
,
"Cannot get IMediaEvent interface returned: %x
\n
"
,
hr
);
...
...
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