Maarten Lankhorst : quartz: Prevent circular connections in render case too .

Alexandre Julliard julliard at winehq.org
Thu Nov 25 11:18:51 CST 2010


Module: wine
Branch: master
Commit: 0a4adc1f101058e6914619e7ab1be011c0741892
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=0a4adc1f101058e6914619e7ab1be011c0741892

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Wed Nov 24 18:23:54 2010 +0100

quartz: Prevent circular connections in render case too.

---

 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);




More information about the wine-cvs mailing list