quartz: Loop through the rest of the possible filters even when a connection fails

Chris Robinson chris.kcat at gmail.com
Tue Feb 13 16:32:34 CST 2007


Breaking causes the function to error out, and not try the rest of the filters 
as it should.
-------------- next part --------------
From 72f40673bf95c6bba4fdeb58182e9d84add30da4 Mon Sep 17 00:00:00 2001
From: Chris Robinson <chris.kcat at gmail.com>
Date: Tue, 13 Feb 2007 08:59:55 -0800
Subject: [PATCH] quartz: Loop through the rest of the possible filters even when a connection fails

---
 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 ab31cd4..ebda643 100644
--- a/dlls/quartz/filtergraph.c
+++ b/dlls/quartz/filtergraph.c
@@ -1061,7 +1061,7 @@ static HRESULT WINAPI GraphBuilder_RenderFile(IGraphBuilder *iface,
             IBaseFilter_Release(ppinsplitter);
             ppinsplitter = NULL;
             TRACE("Cannot connect to filter (%x), trying next one\n", hr);
-            break;
+            continue;
         }
         TRACE("Successfully connected to filter\n");
         break;
-- 
1.4.4.4



More information about the wine-patches mailing list