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:
parent
83f7f9b0ff
commit
f57896484c
|
@ -1030,8 +1030,9 @@ static HRESULT WINAPI FilterGraph2_Connect(IFilterGraph2 *iface, IPin *ppinOut,
|
||||||
if (SUCCEEDED(hr)) {
|
if (SUCCEEDED(hr)) {
|
||||||
unsigned int i;
|
unsigned int i;
|
||||||
if (nb == 0) {
|
if (nb == 0) {
|
||||||
TRACE("Reached a renderer\n");
|
IPin_Disconnect(ppinfilter);
|
||||||
break;
|
IPin_Disconnect(ppinOut);
|
||||||
|
goto error;
|
||||||
}
|
}
|
||||||
TRACE("pins to consider: %d\n", nb);
|
TRACE("pins to consider: %d\n", nb);
|
||||||
for(i = 0; i < nb; i++)
|
for(i = 0; i < nb; i++)
|
||||||
|
|
Loading…
Reference in New Issue