Commit bc204370 authored by Erich Hoover's avatar Erich Hoover Committed by Alexandre Julliard

quartz: Do not assert when IAsyncReader::WaitForNext returns VFW_E_TIMEOUT.

parent aa19d0cf
......@@ -478,14 +478,15 @@ static void PullPin_Thread_Process(PullPin *This)
}
else
{
/* FIXME: This is not well handled yet! */
ERR("Processing error: %x\n", hr);
if (hr == VFW_E_TIMEOUT)
{
assert(!pSample);
if (pSample != NULL)
WARN("Non-NULL sample returned with VFW_E_TIMEOUT.\n");
hr = S_OK;
continue;
}
/* FIXME: Errors are not well handled yet! */
else
ERR("Processing error: %x\n", hr);
}
if (pSample)
......
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