quartz: Don't abort starting for unconnected pin in avi splitter.

This commit is contained in:
Maarten Lankhorst 2008-09-15 19:48:08 +02:00 committed by Alexandre Julliard
parent fd966f8322
commit c71ba1a141
1 changed files with 4 additions and 2 deletions

View File

@ -447,10 +447,12 @@ static HRESULT AVISplitter_first_request(LPVOID iface)
/* Could be an EOF instead */
have_sample = (hr == S_OK);
if (FAILED(hr))
break;
if (hr == S_FALSE)
AVISplitter_SendEndOfFile(This, x);
if (FAILED(hr) && hr != VFW_E_NOT_CONNECTED)
break;
hr = S_OK;
}
/* FIXME: Don't do this for each pin that sent an EOF */