Maarten Lankhorst : quartz: Make filtergraph quieter.
Alexandre Julliard
julliard at winehq.org
Thu Jul 10 08:58:53 CDT 2008
Module: wine
Branch: master
Commit: 86393897a8da29935c145f3cd81d3f4ad56379e5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=86393897a8da29935c145f3cd81d3f4ad56379e5
Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date: Wed Jul 9 13:01:19 2008 -0700
quartz: Make filtergraph quieter.
---
dlls/quartz/filtergraph.c | 28 ++++++++++++++--------------
1 files changed, 14 insertions(+), 14 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 5d2796d..b82cbcd 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -710,7 +710,7 @@ static HRESULT WINAPI FilterGraph2_Reconnect(IFilterGraph2 *iface,
hr = IPin_Connect(ppin, pConnectedTo, NULL);
IPin_Release(pConnectedTo);
if (FAILED(hr))
- ERR("Reconnecting pins failed, pins are not connected now..\n");
+ WARN("Reconnecting pins failed, pins are not connected now..\n");
TRACE("(%p->%p) -- %p %p -> %x\n", iface, This, ppin, pConnectedTo, hr);
return hr;
}
@@ -785,7 +785,7 @@ static HRESULT GetInternalConnections(IBaseFilter* pfilter, IPin* pinputpin, IPi
*pppins = CoTaskMemAlloc(sizeof(IPin*)*nb);
hr = IPin_QueryInternalConnections(pinputpin, *pppins, &nb);
if (hr != S_OK) {
- ERR("Error (%x)\n", hr);
+ WARN("Error (%x)\n", hr);
}
} else if (hr == E_NOTIMPL) {
/* Input connected to all outputs */
@@ -795,7 +795,7 @@ static HRESULT GetInternalConnections(IBaseFilter* pfilter, IPin* pinputpin, IPi
TRACE("E_NOTIMPL\n");
hr = IBaseFilter_EnumPins(pfilter, &penumpins);
if (FAILED(hr)) {
- ERR("filter Enumpins failed (%x)\n", hr);
+ WARN("filter Enumpins failed (%x)\n", hr);
return hr;
}
i = 0;
@@ -822,11 +822,11 @@ static HRESULT GetInternalConnections(IBaseFilter* pfilter, IPin* pinputpin, IPi
IEnumPins_Release(penumpins);
nb = i;
if (FAILED(hr)) {
- ERR("Next failed (%x)\n", hr);
+ WARN("Next failed (%x)\n", hr);
return hr;
}
} else if (FAILED(hr)) {
- ERR("Cannot get internal connection (%x)\n", hr);
+ WARN("Cannot get internal connection (%x)\n", hr);
return hr;
}
@@ -1386,10 +1386,10 @@ static HRESULT WINAPI FilterGraph2_RenderFile(IFilterGraph2 *iface,
INT i;
hr = IFilterGraph2_Render(iface, ppinreader);
- ERR("Render %08x\n", hr);
+ TRACE("Render %08x\n", hr);
for (i = 0; i < This->nFilters; ++i)
- FIXME("Filters in chain: %s\n", debugstr_w(This->pFilterNames[i]));
+ TRACE("Filters in chain: %s\n", debugstr_w(This->pFilterNames[i]));
if (SUCCEEDED(hr))
any = TRUE;
@@ -1489,33 +1489,33 @@ static HRESULT WINAPI FilterGraph2_AddSourceFilter(IFilterGraph2 *iface,
if (FAILED(hr))
hr = CoCreateInstance(&CLSID_AsyncReader, NULL, CLSCTX_INPROC_SERVER, &IID_IBaseFilter, (LPVOID*)&preader);
if (FAILED(hr)) {
- ERR("Unable to create file source filter (%x)\n", hr);
+ WARN("Unable to create file source filter (%x)\n", hr);
return hr;
}
hr = IFilterGraph2_AddFilter(iface, preader, lpcwstrFilterName);
if (FAILED(hr)) {
- ERR("Unable add filter (%x)\n", hr);
+ WARN("Unable add filter (%x)\n", hr);
IBaseFilter_Release(preader);
return hr;
}
hr = IBaseFilter_QueryInterface(preader, &IID_IFileSourceFilter, (LPVOID*)&pfile);
if (FAILED(hr)) {
- ERR("Unable to get IFileSourceInterface (%x)\n", hr);
+ WARN("Unable to get IFileSourceInterface (%x)\n", hr);
goto error;
}
/* Load the file in the file source filter */
hr = IFileSourceFilter_Load(pfile, lpcwstrFileName, NULL);
if (FAILED(hr)) {
- ERR("Load (%x)\n", hr);
+ WARN("Load (%x)\n", hr);
goto error;
}
IFileSourceFilter_GetCurFile(pfile, &filename, &mt);
if (FAILED(hr)) {
- ERR("GetCurFile (%x)\n", hr);
+ WARN("GetCurFile (%x)\n", hr);
goto error;
}
@@ -1831,7 +1831,7 @@ static HRESULT SendFilterMessage(IMediaControl *iface, fnFoundFilter FoundFilter
hr = IBaseFilter_EnumPins(pfilter, &pEnum);
if (hr != S_OK)
{
- ERR("Enum pins failed %x\n", hr);
+ WARN("Enum pins failed %x\n", hr);
continue;
}
/* Check if it is a source filter */
@@ -2081,7 +2081,7 @@ static HRESULT all_renderers_seek(IFilterGraphImpl *This, fnFoundSeek FoundSeek,
hr = IBaseFilter_EnumPins(pfilter, &pEnum);
if (hr != S_OK)
{
- ERR("Enum pins failed %x\n", hr);
+ WARN("Enum pins failed %x\n", hr);
continue;
}
/* Check if it is a source filter */
More information about the wine-cvs
mailing list