[PATCH] quartz: Reaching a renderer in the filtergraph is not an error.

Lei Zhang thestig at google.com
Thu Nov 13 19:52:51 CST 2008


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

diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c
index 7b773ef..8b68d2f 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -1030,9 +1030,8 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
         if (SUCCEEDED(hr)) {
             unsigned int i;
             if (nb == 0) {
-                IPin_Disconnect(ppinfilter);
-                IPin_Disconnect(ppinOut);
-                goto error;
+                TRACE("Reached a renderer\n");
+                break;
             }
             TRACE("pins to consider: %d\n", nb);
             for(i = 0; i < nb; i++)
-- 
1.5.4.5


--0015175cb828d1e02e045b9c9ffc--



More information about the wine-patches mailing list