summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
authorenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-10-03 07:27:09 +0000
committerenselic <enselic@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2008-10-03 07:27:09 +0000
commit222092625a680b7d51d8b897b78838721759499a (patch)
treeda4c0f3fafe71a125544741a233002c385fea5ae /recordmydesktop
parent74cb3b81a8f6fb2848decd812019d450cad4cb51 (diff)
src/rmd_cache_frame.c: Define CACHE_OUT_BUFFER_SIZE and
CACHE_FILE_SIZE_LIMIT in a readable manner, and remove redundant comments. git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@561 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/rmd_cache_frame.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/recordmydesktop/src/rmd_cache_frame.c b/recordmydesktop/src/rmd_cache_frame.c
index 1c98ec9..1e35065 100644
--- a/recordmydesktop/src/rmd_cache_frame.c
+++ b/recordmydesktop/src/rmd_cache_frame.c
@@ -36,10 +36,8 @@
#include "rmd_cache_frame.h"
-//minimize hard disk access
-#define CACHE_OUT_BUFFER_SIZE 4096
-//500 mb file size
-#define CACHE_FILE_SIZE_LIMIT (500*1<<20)
+#define CACHE_OUT_BUFFER_SIZE (4 * 1024)
+#define CACHE_FILE_SIZE_LIMIT (5 * 1024 * 1024)
static int FlushBlock(unsigned char *buf,
© All Rights Reserved