Author: stippi Date: 2010-09-14 22:16:26 +0200 (Tue, 14 Sep 2010) New Revision: 38654 Changeset: http://dev.haiku-os.org/changeset/38654 Modified: haiku/trunk/src/apps/mediaplayer/media_node_framework/video/VideoProducer.cpp Log: The max time to take for rendering is arbitrary, might as well take an even value. Modified: haiku/trunk/src/apps/mediaplayer/media_node_framework/video/VideoProducer.cpp =================================================================== --- haiku/trunk/src/apps/mediaplayer/media_node_framework/video/VideoProducer.cpp 2010-09-14 20:15:10 UTC (rev 38653) +++ haiku/trunk/src/apps/mediaplayer/media_node_framework/video/VideoProducer.cpp 2010-09-14 20:16:26 UTC (rev 38654) @@ -691,7 +691,7 @@ // 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);