quartz: Fix some traces and fixmes.

This commit is contained in:
Christian Costa 2008-12-29 12:00:10 +01:00 committed by Alexandre Julliard
parent d75b0ce452
commit c83e4f130f
1 changed files with 8 additions and 10 deletions

View File

@ -277,7 +277,7 @@ static DWORD VideoRenderer_SendSampleData(VideoRendererImpl* This, LPBYTE data,
HDC hDC; HDC hDC;
BITMAPINFOHEADER *bmiHeader; BITMAPINFOHEADER *bmiHeader;
TRACE("%p %p %d\n", This, data, size); TRACE("(%p)->(%p, %d)\n", This, data, size);
sdesc.dwSize = sizeof(sdesc); sdesc.dwSize = sizeof(sdesc);
hr = IPin_ConnectionMediaType((IPin *)This->pInputPin, &amt); hr = IPin_ConnectionMediaType((IPin *)This->pInputPin, &amt);
@ -356,6 +356,8 @@ static HRESULT VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
REFERENCE_TIME tStart, tStop; REFERENCE_TIME tStart, tStop;
HRESULT hr; HRESULT hr;
TRACE("(%p)->(%p)\n", iface, pSample);
EnterCriticalSection(&This->csFilter); EnterCriticalSection(&This->csFilter);
if (This->pInputPin->flushing || This->pInputPin->end_of_stream) if (This->pInputPin->flushing || This->pInputPin->end_of_stream)
@ -370,8 +372,6 @@ static HRESULT VideoRenderer_Sample(LPVOID iface, IMediaSample * pSample)
return VFW_E_WRONG_STATE; return VFW_E_WRONG_STATE;
} }
TRACE("%p %p\n", iface, pSample);
hr = IMediaSample_GetTime(pSample, &tStart, &tStop); hr = IMediaSample_GetTime(pSample, &tStart, &tStop);
if (FAILED(hr)) if (FAILED(hr))
ERR("Cannot get sample time (%x)\n", hr); ERR("Cannot get sample time (%x)\n", hr);
@ -571,7 +571,7 @@ static const IMediaSeekingVtbl VideoRendererImpl_Seeking_Vtbl =
static HRESULT VideoRendererImpl_Change(IBaseFilter *iface) static HRESULT VideoRendererImpl_Change(IBaseFilter *iface)
{ {
TRACE("(%p)\n", iface); TRACE("(%p)->()\n", iface);
return S_OK; return S_OK;
} }
@ -961,9 +961,7 @@ static HRESULT WINAPI VideoRenderer_FindPin(IBaseFilter * iface, LPCWSTR Id, IPi
{ {
VideoRendererImpl *This = (VideoRendererImpl *)iface; VideoRendererImpl *This = (VideoRendererImpl *)iface;
TRACE("(%p/%p)->(%p,%p)\n", This, iface, debugstr_w(Id), ppPin); FIXME("(%p/%p)->(%p,%p): stub !!!\n", This, iface, debugstr_w(Id), ppPin);
FIXME("VideoRenderer::FindPin(...)\n");
/* FIXME: critical section */ /* FIXME: critical section */
@ -1541,6 +1539,8 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
AM_MEDIA_TYPE *amt = &This->pInputPin->pin.mtCurrent; AM_MEDIA_TYPE *amt = &This->pInputPin->pin.mtCurrent;
char *ptr; char *ptr;
FIXME("(%p/%p)->(%p, %p): partial stub\n", This, iface, pBufferSize, pDIBImage);
EnterCriticalSection(&This->csFilter); EnterCriticalSection(&This->csFilter);
if (!This->sample_held) if (!This->sample_held)
@ -1549,8 +1549,6 @@ static HRESULT WINAPI Basicvideo_GetCurrentImage(IBasicVideo *iface,
return (This->state == State_Paused ? E_UNEXPECTED : VFW_E_NOT_PAUSED); return (This->state == State_Paused ? E_UNEXPECTED : VFW_E_NOT_PAUSED);
} }
FIXME("(%p/%p)->(%p, %p): partial stub\n", This, iface, pBufferSize, pDIBImage);
if (IsEqualIID(&amt->formattype, &FORMAT_VideoInfo)) if (IsEqualIID(&amt->formattype, &FORMAT_VideoInfo))
{ {
bmiHeader = &((VIDEOINFOHEADER *)amt->pbFormat)->bmiHeader; bmiHeader = &((VIDEOINFOHEADER *)amt->pbFormat)->bmiHeader;
@ -1815,7 +1813,7 @@ static HRESULT WINAPI Videowindow_put_AutoShow(IVideoWindow *iface,
TRACE("(%p/%p)->(%ld)\n", This, iface, AutoShow); TRACE("(%p/%p)->(%ld)\n", This, iface, AutoShow);
This->AutoShow = 1; /* FXIME: Should be AutoShow */; This->AutoShow = 1; /* FIXME: Should be AutoShow */;
return S_OK; return S_OK;
} }