The max time to take for rendering is arbitrary,

might as well take an even value.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38654 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stephan Aßmus
2010-09-14 20:16:26 +00:00
parent c3f9ae128a
commit 5aaa020871
@@ -691,7 +691,7 @@ VideoProducer::_FrameGeneratorThread()
// get the times for the current and the next frame
performanceTime = fManager->TimeForFrame(fFrame);
nextPerformanceTime = fManager->TimeForFrame(fFrame + 1);
maxRenderTime = min_c(bigtime_t(33334 * 0.9),
maxRenderTime = min_c(bigtime_t(40000),
max_c(fSupplier->ProcessingLatency(), maxRenderTime));
playingMode = fManager->PlayModeAtFrame(fFrame);