Commit 9942693a authored by Zebediah Figura's avatar Zebediah Figura Committed by Alexandre Julliard

quartz/filtergraph: Remove "#if 1" from CheckCircularConnection().

Cycle detection is done by native quartz. Signed-off-by: 's avatarZebediah Figura <zfigura@codeweavers.com> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 09cf9b8a
...@@ -776,7 +776,6 @@ static HRESULT WINAPI FilterGraph2_FindFilterByName(IFilterGraph2 *iface, ...@@ -776,7 +776,6 @@ static HRESULT WINAPI FilterGraph2_FindFilterByName(IFilterGraph2 *iface,
*/ */
static HRESULT CheckCircularConnection(struct filter_graph *This, IPin *out, IPin *in) static HRESULT CheckCircularConnection(struct filter_graph *This, IPin *out, IPin *in)
{ {
#if 1
HRESULT hr; HRESULT hr;
PIN_INFO info_out, info_in; PIN_INFO info_out, info_in;
...@@ -841,10 +840,6 @@ out: ...@@ -841,10 +840,6 @@ out:
if (FAILED(hr)) if (FAILED(hr))
ERR("Checking filtergraph returned %08x, something's not right!\n", hr); ERR("Checking filtergraph returned %08x, something's not right!\n", hr);
return hr; return hr;
#else
/* Debugging filtergraphs not enabled */
return S_OK;
#endif
} }
static struct filter *find_sorted_filter(struct filter_graph *graph, IBaseFilter *iface) static struct filter *find_sorted_filter(struct filter_graph *graph, IBaseFilter *iface)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment