[PATCH 2/4] quartz/filtergraph: Remove "#if 1" from CheckCircularConnection().
Zebediah Figura
zfigura at codeweavers.com
Wed Feb 2 22:58:07 CST 2022
Cycle detection is done by native quartz.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
---
dlls/quartz/filtergraph.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 4132ffa5b2f..aa646615428 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -776,7 +776,6 @@ static HRESULT WINAPI FilterGraph2_FindFilterByName(IFilterGraph2 *iface,
*/
static HRESULT CheckCircularConnection(struct filter_graph *This, IPin *out, IPin *in)
{
-#if 1
HRESULT hr;
PIN_INFO info_out, info_in;
@@ -841,10 +840,6 @@ out:
if (FAILED(hr))
ERR("Checking filtergraph returned %08x, something's not right!\n", hr);
return hr;
-#else
- /* Debugging filtergraphs not enabled */
- return S_OK;
-#endif
}
static struct filter *find_sorted_filter(struct filter_graph *graph, IBaseFilter *iface)
--
2.34.1
More information about the wine-devel
mailing list