From f57896484c147f7c937f780c322a2d1cc55cff60 Mon Sep 17 00:00:00 2001 From: Maarten Lankhorst Date: Fri, 14 Nov 2008 22:50:34 +0100 Subject: [PATCH] Revert "quartz: Reaching a renderer in the filtergraph is not an error." This is plain wrong, input pin and output pin are supposed to be connected to each other, not the input pin being connected to a renderer pin and NOT reaching output pin --- dlls/quartz/filtergraph.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dlls/quartz/filtergraph.c b/dlls/quartz/filtergraph.c index 8b68d2f1f98..7b773ef9415 100644 --- a/dlls/quartz/filtergraph.c +++ b/dlls/quartz/filtergraph.c @@ -1030,8 +1030,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++)