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
e317164f
Commit
e317164f
authored
Nov 09, 2017
by
Alistair Leslie-Hughes
Committed by
Alexandre Julliard
Nov 09, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Output This in TRACE statements.
Signed-off-by:
Alistair Leslie-Hughes
<
leslie_alistair@hotmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a4641149
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
16 deletions
+20
-16
filesource.c
dlls/quartz/filesource.c
+20
-16
No files found.
dlls/quartz/filesource.c
View file @
e317164f
...
...
@@ -391,6 +391,8 @@ static IPin* WINAPI AsyncReader_GetPin(BaseFilter *iface, int pos)
{
AsyncReader
*
This
=
impl_from_BaseFilter
(
iface
);
TRACE
(
"%p->(%d)
\n
"
,
This
,
pos
);
if
(
pos
>=
1
||
!
This
->
pOutputPin
)
return
NULL
;
...
...
@@ -402,6 +404,8 @@ static LONG WINAPI AsyncReader_GetPinCount(BaseFilter *iface)
{
AsyncReader
*
This
=
impl_from_BaseFilter
(
iface
);
TRACE
(
"%p->()
\n
"
,
This
);
if
(
!
This
->
pOutputPin
)
return
0
;
else
...
...
@@ -447,7 +451,7 @@ static HRESULT WINAPI AsyncReader_QueryInterface(IBaseFilter * iface, REFIID rii
{
AsyncReader
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"
(%s, %p)
\n
"
,
qzdebugstr_guid
(
riid
),
ppv
);
TRACE
(
"
%p->(%s, %p)
\n
"
,
This
,
qzdebugstr_guid
(
riid
),
ppv
);
*
ppv
=
NULL
;
...
...
@@ -482,7 +486,7 @@ static ULONG WINAPI AsyncReader_Release(IBaseFilter * iface)
AsyncReader
*
This
=
impl_from_IBaseFilter
(
iface
);
ULONG
refCount
=
InterlockedDecrement
(
&
This
->
filter
.
refCount
);
TRACE
(
"
(%p)
->() Release from %d
\n
"
,
This
,
refCount
+
1
);
TRACE
(
"
%p
->() Release from %d
\n
"
,
This
,
refCount
+
1
);
if
(
!
refCount
)
{
...
...
@@ -514,7 +518,7 @@ static HRESULT WINAPI AsyncReader_Stop(IBaseFilter * iface)
{
AsyncReader
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"
()
\n
"
);
TRACE
(
"
%p->()
\n
"
,
This
);
This
->
filter
.
state
=
State_Stopped
;
...
...
@@ -525,7 +529,7 @@ static HRESULT WINAPI AsyncReader_Pause(IBaseFilter * iface)
{
AsyncReader
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"
()
\n
"
);
TRACE
(
"
%p->()
\n
"
,
This
);
This
->
filter
.
state
=
State_Paused
;
...
...
@@ -536,7 +540,7 @@ static HRESULT WINAPI AsyncReader_Run(IBaseFilter * iface, REFERENCE_TIME tStart
{
AsyncReader
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"
(%s)
\n
"
,
wine_dbgstr_longlong
(
tStart
));
TRACE
(
"
%p->(%s)
\n
"
,
This
,
wine_dbgstr_longlong
(
tStart
));
This
->
filter
.
state
=
State_Running
;
...
...
@@ -548,7 +552,7 @@ static HRESULT WINAPI AsyncReader_Run(IBaseFilter * iface, REFERENCE_TIME tStart
static
HRESULT
WINAPI
AsyncReader_FindPin
(
IBaseFilter
*
iface
,
LPCWSTR
Id
,
IPin
**
ppPin
)
{
AsyncReader
*
This
=
impl_from_IBaseFilter
(
iface
);
TRACE
(
"
(%s, %p)
\n
"
,
debugstr_w
(
Id
),
ppPin
);
TRACE
(
"
%p->(%s, %p)
\n
"
,
This
,
debugstr_w
(
Id
),
ppPin
);
if
(
!
Id
||
!
ppPin
)
return
E_POINTER
;
...
...
@@ -611,7 +615,7 @@ static HRESULT WINAPI FileSource_Load(IFileSourceFilter * iface, LPCOLESTR pszFi
IAsyncReader
*
pReader
=
NULL
;
AsyncReader
*
This
=
impl_from_IFileSourceFilter
(
iface
);
TRACE
(
"
(%s, %p)
\n
"
,
debugstr_w
(
pszFileName
),
pmt
);
TRACE
(
"
%p->(%s, %p)
\n
"
,
This
,
debugstr_w
(
pszFileName
),
pmt
);
if
(
!
pszFileName
)
return
E_POINTER
;
...
...
@@ -692,7 +696,7 @@ static HRESULT WINAPI FileSource_GetCurFile(IFileSourceFilter * iface, LPOLESTR
{
AsyncReader
*
This
=
impl_from_IFileSourceFilter
(
iface
);
TRACE
(
"
(%p, %p)
\n
"
,
ppszFileName
,
pmt
);
TRACE
(
"
%p->(%p, %p)
\n
"
,
This
,
ppszFileName
,
pmt
);
if
(
!
ppszFileName
)
return
E_POINTER
;
...
...
@@ -888,7 +892,7 @@ static HRESULT WINAPI FileAsyncReaderPin_AttemptConnection(BasePin * iface, IPin
BaseOutputPin
*
This
=
impl_BaseOutputPin_from_BasePin
(
iface
);
HRESULT
hr
;
TRACE
(
"
(%p, %p)
\n
"
,
pReceivePin
,
pmt
);
TRACE
(
"
%p->(%p, %p)
\n
"
,
This
,
pReceivePin
,
pmt
);
dump_AM_MEDIA_TYPE
(
pmt
);
/* FIXME: call queryacceptproc */
...
...
@@ -996,7 +1000,7 @@ static HRESULT WINAPI FileAsyncReader_RequestAllocator(IAsyncReader * iface, IMe
HRESULT
hr
=
S_OK
;
TRACE
(
"
(%p, %p, %p)
\n
"
,
pPreferred
,
pProps
,
ppActual
);
TRACE
(
"
%p->(%p, %p, %p)
\n
"
,
This
,
pPreferred
,
pProps
,
ppActual
);
if
(
!
pProps
->
cbAlign
||
(
pProps
->
cbAlign
%
DEF_ALIGNMENT
)
!=
0
)
pProps
->
cbAlign
=
DEF_ALIGNMENT
;
...
...
@@ -1092,7 +1096,7 @@ static HRESULT WINAPI FileAsyncReader_Request(IAsyncReader * iface, IMediaSample
FileAsyncReader
*
This
=
impl_from_IAsyncReader
(
iface
);
LPBYTE
pBuffer
=
NULL
;
TRACE
(
"
(%p, %lx)
\n
"
,
pSample
,
dwUser
);
TRACE
(
"
%p->(%p, %lx)
\n
"
,
This
,
pSample
,
dwUser
);
if
(
!
pSample
)
return
E_POINTER
;
...
...
@@ -1170,7 +1174,7 @@ static HRESULT WINAPI FileAsyncReader_WaitForNext(IAsyncReader * iface, DWORD dw
FileAsyncReader
*
This
=
impl_from_IAsyncReader
(
iface
);
DWORD
buffer
=
~
0
;
TRACE
(
"
(%u, %p, %p)
\n
"
,
dwTimeout
,
ppSample
,
pdwUser
);
TRACE
(
"
%p->(%u, %p, %p)
\n
"
,
This
,
dwTimeout
,
ppSample
,
pdwUser
);
*
ppSample
=
NULL
;
*
pdwUser
=
0
;
...
...
@@ -1335,7 +1339,7 @@ static HRESULT WINAPI FileAsyncReader_SyncRead(IAsyncReader * iface, LONGLONG ll
HRESULT
hr
=
S_OK
;
FileAsyncReader
*
This
=
impl_from_IAsyncReader
(
iface
);
TRACE
(
"
(%s, %d, %p)
\n
"
,
wine_dbgstr_longlong
(
llPosition
),
lLength
,
pBuffer
);
TRACE
(
"
%p->(%s, %d, %p)
\n
"
,
This
,
wine_dbgstr_longlong
(
llPosition
),
lLength
,
pBuffer
);
ZeroMemory
(
&
ovl
,
sizeof
(
ovl
));
...
...
@@ -1370,7 +1374,7 @@ static HRESULT WINAPI FileAsyncReader_Length(IAsyncReader * iface, LONGLONG * pT
DWORD
dwSizeHigh
;
FileAsyncReader
*
This
=
impl_from_IAsyncReader
(
iface
);
TRACE
(
"
(%p, %p)
\n
"
,
pTotal
,
pAvailable
);
TRACE
(
"
%p->(%p, %p)
\n
"
,
This
,
pTotal
,
pAvailable
);
if
(((
dwSizeLow
=
GetFileSize
(
This
->
hFile
,
&
dwSizeHigh
))
==
-
1
)
&&
(
GetLastError
()
!=
NO_ERROR
))
...
...
@@ -1387,7 +1391,7 @@ static HRESULT WINAPI FileAsyncReader_BeginFlush(IAsyncReader * iface)
{
FileAsyncReader
*
This
=
impl_from_IAsyncReader
(
iface
);
TRACE
(
"
()
\n
"
);
TRACE
(
"
%p->()
\n
"
,
This
);
EnterCriticalSection
(
&
This
->
csList
);
This
->
bFlushing
=
TRUE
;
...
...
@@ -1403,7 +1407,7 @@ static HRESULT WINAPI FileAsyncReader_EndFlush(IAsyncReader * iface)
FileAsyncReader
*
This
=
impl_from_IAsyncReader
(
iface
);
int
x
;
TRACE
(
"
()
\n
"
);
TRACE
(
"
%p->()
\n
"
,
This
);
EnterCriticalSection
(
&
This
->
csList
);
ResetEvent
(
This
->
handle_list
[
This
->
samples
]);
...
...
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