[PATCH 2/4] quartz: Prevent circular connections in render case too

Maarten Lankhorst m.b.lankhorst at gmail.com
Wed Nov 24 11:23:54 CST 2010


---
 dlls/quartz/filtergraph.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index eeafe32..7b3fec9 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -1235,7 +1235,7 @@ static HRESULT WINAPI FilterGraph2_Render(IFilterGraph2 *iface, IPin *ppinOut)
 
             if (to == NULL)
             {
-                hr = IPin_Connect(ppinOut, pin, NULL);
+                hr = FilterGraph2_ConnectDirect(iface, ppinOut, pin, NULL);
                 if (SUCCEEDED(hr))
                 {
                     TRACE("Connected successfully %p/%p, %08x look if we should render more!\n", ppinOut, pin, hr);
-- 
1.7.1




More information about the wine-patches mailing list