quartz: Output This in TRACE statements.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alistair Leslie-Hughes 2017-11-09 01:08:41 +00:00 committed by Alexandre Julliard
parent e317164f8f
commit c23bcce552
1 changed files with 11 additions and 8 deletions

View File

@ -68,7 +68,7 @@ static IPin* WINAPI Parser_GetPin(BaseFilter *iface, int pos)
{
ParserImpl *This = impl_from_BaseFilter(iface);
TRACE("Asking for pos %x\n", pos);
TRACE("%p->(%x)\n", This, pos);
/* Input pin also has a pin, hence the > and not >= */
if (pos > This->cStreams || pos < 0)
@ -82,6 +82,8 @@ static LONG WINAPI Parser_GetPinCount(BaseFilter *iface)
{
ParserImpl *This = impl_from_BaseFilter(iface);
TRACE("%p->()\n", This);
return This->cStreams;
}
@ -222,7 +224,7 @@ HRESULT WINAPI Parser_GetClassID(IBaseFilter * iface, CLSID * pClsid)
{
ParserImpl *This = impl_from_IBaseFilter(iface);
TRACE("(%p)\n", pClsid);
TRACE("%p->(%p)\n", This, pClsid);
*pClsid = This->filter.clsid;
@ -237,7 +239,7 @@ HRESULT WINAPI Parser_Stop(IBaseFilter * iface)
PullPin *pin = impl_PullPin_from_IPin(This->ppPins[0]);
ULONG i;
TRACE("()\n");
TRACE("%p->()\n", This);
EnterCriticalSection(&pin->thread_lock);
@ -275,7 +277,7 @@ HRESULT WINAPI Parser_Pause(IBaseFilter * iface)
ParserImpl *This = impl_from_IBaseFilter(iface);
PullPin *pin = impl_PullPin_from_IPin(This->ppPins[0]);
TRACE("()\n");
TRACE("%p->()\n", This);
EnterCriticalSection(&pin->thread_lock);
EnterCriticalSection(&This->filter.csFilter);
@ -311,7 +313,7 @@ HRESULT WINAPI Parser_Run(IBaseFilter * iface, REFERENCE_TIME tStart)
ULONG i;
TRACE("(%s)\n", wine_dbgstr_longlong(tStart));
TRACE("%p->(%s)\n", This, wine_dbgstr_longlong(tStart));
EnterCriticalSection(&pin->thread_lock);
EnterCriticalSection(&This->filter.csFilter);
@ -357,7 +359,7 @@ HRESULT WINAPI Parser_GetState(IBaseFilter * iface, DWORD dwMilliSecsTimeout, FI
PullPin *pin = impl_PullPin_from_IPin(This->ppPins[0]);
HRESULT hr = S_OK;
TRACE("(%d, %p)\n", dwMilliSecsTimeout, pState);
TRACE("%p->(%d, %p)\n", This, dwMilliSecsTimeout, pState);
EnterCriticalSection(&pin->thread_lock);
EnterCriticalSection(&This->filter.csFilter);
@ -378,7 +380,7 @@ HRESULT WINAPI Parser_SetSyncSource(IBaseFilter * iface, IReferenceClock *pClock
ParserImpl *This = impl_from_IBaseFilter(iface);
PullPin *pin = impl_PullPin_from_IPin(This->ppPins[0]);
TRACE("(%p)\n", pClock);
TRACE("%p->(%p)\n", This, pClock);
EnterCriticalSection(&pin->thread_lock);
BaseFilterImpl_SetSyncSource(iface,pClock);
@ -401,7 +403,8 @@ HRESULT WINAPI Parser_EnumPins(IBaseFilter * iface, IEnumPins **ppEnum)
HRESULT WINAPI Parser_FindPin(IBaseFilter * iface, LPCWSTR Id, IPin **ppPin)
{
FIXME("(%p)->(%s,%p)\n", iface, debugstr_w(Id), ppPin);
ParserImpl *This = impl_from_IBaseFilter(iface);
FIXME("(%p)->(%s,%p)\n", This, debugstr_w(Id), ppPin);
/* FIXME: critical section */