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

Maarten Lankhorst maarten at codeweavers.com
Fri Nov 14 15:50:34 CST 2008


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

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


--------------010400070209060305060406--



More information about the wine-patches mailing list