quartz: Break processing loop when shutting down.

This commit is contained in:
Chris Robinson 2008-03-31 10:01:54 -07:00 committed by Alexandre Julliard
parent 15db05929a
commit 4a68b33029
1 changed files with 4 additions and 1 deletions

View File

@ -363,8 +363,11 @@ static HRESULT MPEGSplitter_process_sample(LPVOID iface, IMediaSample * pSample)
IMediaSample_SetSyncPoint(This->pCurrentSample, TRUE);
}
hr = FillBuffer(This, &pbSrcStream, &cbSrcStream);
if (SUCCEEDED(hr))
if (SUCCEEDED(hr)) {
if (hr == S_FALSE)
break;
continue;
}
fail:
FIXME("Failed with hres: %08x!\n", hr);