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

This commit is contained in:
Erich Hoover 2011-09-11 14:10:19 -06:00 committed by Alexandre Julliard
parent aa19d0cf5f
commit bc204370ae
1 changed files with 5 additions and 4 deletions

View File

@ -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)