quartz/filtergraph: Remove "#if 1" from CheckCircularConnection().
Cycle detection is done by native quartz. Signed-off-by: Zebediah Figura <zfigura@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
09cf9b8a13
commit
9942693a85
|
@ -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:
|
||||||
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)
|
||||||
|
|
Loading…
Reference in New Issue