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
This commit is contained in:
Maarten Lankhorst 2008-11-14 22:50:34 +01:00 committed by Alexandre Julliard
parent 83f7f9b0ff
commit f57896484c
1 changed files with 3 additions and 2 deletions

View File

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