Zebediah Figura : quartz/filtergraph: Remove "#if 1" from CheckCircularConnection().
Alexandre Julliard
julliard at winehq.org
Thu Feb 3 16:06:56 CST 2022
Module: wine
Branch: master
Commit: 9942693a8552b7b83ccb67fccec68755bb5451c5
URL: https://source.winehq.org/git/wine.git/?a=commit;h=9942693a8552b7b83ccb67fccec68755bb5451c5
Author: Zebediah Figura <zfigura at codeweavers.com>
Date: Wed Feb 2 22:58:07 2022 -0600
quartz/filtergraph: Remove "#if 1" from CheckCircularConnection().
Cycle detection is done by native quartz.
Signed-off-by: Zebediah Figura <zfigura at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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)
More information about the wine-cvs
mailing list