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
7c5fcfff
Commit
7c5fcfff
authored
Oct 04, 2019
by
Nikolay Sivov
Committed by
Alexandre Julliard
Oct 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mf: Unify trace formats for session methods.
Signed-off-by:
Nikolay Sivov
<
nsivov@codeweavers.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
3471b779
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
session.c
dlls/mf/session.c
+11
-11
No files found.
dlls/mf/session.c
View file @
7c5fcfff
...
...
@@ -550,7 +550,7 @@ static HRESULT WINAPI mfsession_QueryInterface(IMFMediaSession *iface, REFIID ri
{
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
TRACE
(
"
(%p)->(%s %p)
\n
"
,
iface
,
debugstr_guid
(
riid
),
out
);
TRACE
(
"
%p, %s, %p.
\n
"
,
iface
,
debugstr_guid
(
riid
),
out
);
if
(
IsEqualIID
(
riid
,
&
IID_IMFMediaSession
)
||
IsEqualIID
(
riid
,
&
IID_IMFMediaEventGenerator
)
||
...
...
@@ -577,7 +577,7 @@ static ULONG WINAPI mfsession_AddRef(IMFMediaSession *iface)
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
ULONG
refcount
=
InterlockedIncrement
(
&
session
->
refcount
);
TRACE
(
"
(%p) refcount=%u
\n
"
,
iface
,
refcount
);
TRACE
(
"
%p, refcount %u.
\n
"
,
iface
,
refcount
);
return
refcount
;
}
...
...
@@ -587,7 +587,7 @@ static ULONG WINAPI mfsession_Release(IMFMediaSession *iface)
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
ULONG
refcount
=
InterlockedDecrement
(
&
session
->
refcount
);
TRACE
(
"
(%p) refcount=%u
\n
"
,
iface
,
refcount
);
TRACE
(
"
%p, refcount %u.
\n
"
,
iface
,
refcount
);
if
(
!
refcount
)
{
...
...
@@ -614,7 +614,7 @@ static HRESULT WINAPI mfsession_GetEvent(IMFMediaSession *iface, DWORD flags, IM
{
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
TRACE
(
"
(%p)->(%#x, %p)
\n
"
,
iface
,
flags
,
event
);
TRACE
(
"
%p, %#x, %p.
\n
"
,
iface
,
flags
,
event
);
return
IMFMediaEventQueue_GetEvent
(
session
->
event_queue
,
flags
,
event
);
}
...
...
@@ -623,7 +623,7 @@ static HRESULT WINAPI mfsession_BeginGetEvent(IMFMediaSession *iface, IMFAsyncCa
{
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
TRACE
(
"
(%p)->(%p, %p)
\n
"
,
iface
,
callback
,
state
);
TRACE
(
"
%p, %p, %p.
\n
"
,
iface
,
callback
,
state
);
return
IMFMediaEventQueue_BeginGetEvent
(
session
->
event_queue
,
callback
,
state
);
}
...
...
@@ -632,7 +632,7 @@ static HRESULT WINAPI mfsession_EndGetEvent(IMFMediaSession *iface, IMFAsyncResu
{
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
TRACE
(
"
(%p)->(%p, %p)
\n
"
,
iface
,
result
,
event
);
TRACE
(
"
%p, %p, %p.
\n
"
,
iface
,
result
,
event
);
return
IMFMediaEventQueue_EndGetEvent
(
session
->
event_queue
,
result
,
event
);
}
...
...
@@ -642,7 +642,7 @@ static HRESULT WINAPI mfsession_QueueEvent(IMFMediaSession *iface, MediaEventTyp
{
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
TRACE
(
"
(%p)->(%d, %s, %#x, %p)
\n
"
,
iface
,
event_type
,
debugstr_guid
(
ext_type
),
hr
,
value
);
TRACE
(
"
%p, %d, %s, %#x, %p.
\n
"
,
iface
,
event_type
,
debugstr_guid
(
ext_type
),
hr
,
value
);
return
IMFMediaEventQueue_QueueEventParamVar
(
session
->
event_queue
,
event_type
,
ext_type
,
hr
,
value
);
}
...
...
@@ -758,7 +758,7 @@ static HRESULT WINAPI mfsession_Close(IMFMediaSession *iface)
struct
session_op
*
op
;
HRESULT
hr
;
TRACE
(
"
(%p)
\n
"
,
iface
);
TRACE
(
"
%p.
\n
"
,
iface
);
if
(
FAILED
(
hr
=
create_session_op
(
SESSION_CMD_CLOSE
,
&
op
)))
return
hr
;
...
...
@@ -774,7 +774,7 @@ static HRESULT WINAPI mfsession_Shutdown(IMFMediaSession *iface)
struct
media_session
*
session
=
impl_from_IMFMediaSession
(
iface
);
HRESULT
hr
=
S_OK
;
FIXME
(
"
(%p)
\n
"
,
iface
);
FIXME
(
"
%p.
\n
"
,
iface
);
EnterCriticalSection
(
&
session
->
cs
);
if
(
session
->
state
==
SESSION_STATE_SHUT_DOWN
)
...
...
@@ -803,14 +803,14 @@ static HRESULT WINAPI mfsession_GetClock(IMFMediaSession *iface, IMFClock **cloc
static
HRESULT
WINAPI
mfsession_GetSessionCapabilities
(
IMFMediaSession
*
iface
,
DWORD
*
caps
)
{
FIXME
(
"
(%p)->(%p)
\n
"
,
iface
,
caps
);
FIXME
(
"
%p, %p.
\n
"
,
iface
,
caps
);
return
E_NOTIMPL
;
}
static
HRESULT
WINAPI
mfsession_GetFullTopology
(
IMFMediaSession
*
iface
,
DWORD
flags
,
TOPOID
id
,
IMFTopology
**
topology
)
{
FIXME
(
"
(%p)->(%#x, %s, %p)
\n
"
,
iface
,
flags
,
wine_dbgstr_longlong
(
id
),
topology
);
FIXME
(
"
%p, %#x, %s, %p.
\n
"
,
iface
,
flags
,
wine_dbgstr_longlong
(
id
),
topology
);
return
E_NOTIMPL
;
}
...
...
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