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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user