Commit 4a68b330 authored by Chris Robinson's avatar Chris Robinson Committed by Alexandre Julliard

quartz: Break processing loop when shutting down.

parent 15db0592
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment