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
0bad9529
Commit
0bad9529
authored
Jul 14, 2020
by
Zebediah Figura
Committed by
Alexandre Julliard
Jul 15, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Add more tracing to state change methods.
Signed-off-by:
Zebediah Figura
<
z.figura12@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
313c27ad
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
filtergraph.c
dlls/quartz/filtergraph.c
+9
-0
No files found.
dlls/quartz/filtergraph.c
View file @
0bad9529
...
@@ -1723,6 +1723,8 @@ static HRESULT WINAPI MediaControl_Run(IMediaControl *iface)
...
@@ -1723,6 +1723,8 @@ static HRESULT WINAPI MediaControl_Run(IMediaControl *iface)
{
{
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
TRACE
(
"graph %p.
\n
"
,
graph
);
return
IMediaFilter_Run
(
&
graph
->
IMediaFilter_iface
,
0
);
return
IMediaFilter_Run
(
&
graph
->
IMediaFilter_iface
,
0
);
}
}
...
@@ -1730,6 +1732,8 @@ static HRESULT WINAPI MediaControl_Pause(IMediaControl *iface)
...
@@ -1730,6 +1732,8 @@ static HRESULT WINAPI MediaControl_Pause(IMediaControl *iface)
{
{
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
TRACE
(
"graph %p.
\n
"
,
graph
);
return
IMediaFilter_Pause
(
&
graph
->
IMediaFilter_iface
);
return
IMediaFilter_Pause
(
&
graph
->
IMediaFilter_iface
);
}
}
...
@@ -1737,6 +1741,8 @@ static HRESULT WINAPI MediaControl_Stop(IMediaControl *iface)
...
@@ -1737,6 +1741,8 @@ static HRESULT WINAPI MediaControl_Stop(IMediaControl *iface)
{
{
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
TRACE
(
"graph %p.
\n
"
,
graph
);
return
IMediaFilter_Stop
(
&
graph
->
IMediaFilter_iface
);
return
IMediaFilter_Stop
(
&
graph
->
IMediaFilter_iface
);
}
}
...
@@ -1744,6 +1750,8 @@ static HRESULT WINAPI MediaControl_GetState(IMediaControl *iface, LONG timeout,
...
@@ -1744,6 +1750,8 @@ static HRESULT WINAPI MediaControl_GetState(IMediaControl *iface, LONG timeout,
{
{
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
struct
filter_graph
*
graph
=
impl_from_IMediaControl
(
iface
);
TRACE
(
"graph %p, timeout %u, state %p.
\n
"
,
graph
,
timeout
,
state
);
if
(
timeout
<
0
)
timeout
=
INFINITE
;
if
(
timeout
<
0
)
timeout
=
INFINITE
;
return
IMediaFilter_GetState
(
&
graph
->
IMediaFilter_iface
,
timeout
,
(
FILTER_STATE
*
)
state
);
return
IMediaFilter_GetState
(
&
graph
->
IMediaFilter_iface
,
timeout
,
(
FILTER_STATE
*
)
state
);
...
@@ -4951,6 +4959,7 @@ static HRESULT WINAPI MediaFilter_GetState(IMediaFilter *iface, DWORD timeout, F
...
@@ -4951,6 +4959,7 @@ static HRESULT WINAPI MediaFilter_GetState(IMediaFilter *iface, DWORD timeout, F
}
}
LeaveCriticalSection
(
&
graph
->
cs
);
LeaveCriticalSection
(
&
graph
->
cs
);
TRACE
(
"Returning %#x, state %u.
\n
"
,
hr
,
*
state
);
return
hr
;
return
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