From d3d0923a203997cecabb394e8f4955def9876b56 Mon Sep 17 00:00:00 2001 From: Raphael Coeffic Date: Wed, 4 Jun 2008 08:19:31 +0000 Subject: [PATCH] - fixed minor bug. git-svn-id: http://svn.berlios.de/svnroot/repos/sems/trunk@1003 8eb893ce-cfd4-0310-b710-fb5ebe64c474 --- core/AmMediaProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/AmMediaProcessor.cpp b/core/AmMediaProcessor.cpp index f2687d77..8616aa19 100644 --- a/core/AmMediaProcessor.cpp +++ b/core/AmMediaProcessor.cpp @@ -204,7 +204,7 @@ void AmMediaProcessorThread::run() sdiff.tv_sec = diff.tv_sec; sdiff.tv_nsec = diff.tv_usec * 1000; - if(sdiff.tv_nsec > 2000) // 2 ms + if(sdiff.tv_nsec > 2000000) // 2 ms nanosleep(&sdiff,&rem); }