Lei Zhang : quartz: Reaching a renderer in the filtergraph is not an error .

Alexandre Julliard julliard at winehq.org
Fri Nov 14 07:54:47 CST 2008


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

Author: Lei Zhang <thestig at google.com>
Date:   Thu Nov 13 17:52:51 2008 -0800

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

---

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




More information about the wine-cvs mailing list