summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/cache_frame.c
diff options
context:
space:
mode:
authoriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-12-09 14:54:00 +0000
committeriovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-12-09 14:54:00 +0000
commit9659592e810f34724abbb76d072472ceca4bbc97 (patch)
tree17fbafcf2b40913a43e266291e6b191a43d10bb4 /recordmydesktop/src/cache_frame.c
parent5cc91a08f6313e0b758063b7dfd31244d43eb9a0 (diff)
corrected(added) eos on both streams
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@226 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/cache_frame.c')
-rw-r--r--recordmydesktop/src/cache_frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/recordmydesktop/src/cache_frame.c b/recordmydesktop/src/cache_frame.c
index 7f8c826..813b9e0 100644
--- a/recordmydesktop/src/cache_frame.c
+++ b/recordmydesktop/src/cache_frame.c
@@ -222,7 +222,7 @@ void *CacheImageBuffer(ProgData *pdata){
/**@________________@**/
- pdata->avd+=pdata->frametime*2*pdata->args.channels;
+ pdata->avd+=pdata->frametime;
if(nbytes>CACHE_FILE_SIZE_LIMIT){
if(SwapCacheFilesWrite(pdata->cache_data->imgdata,nth_cache,&fp,&ucfp)){
fprintf(stderr,"New cache file could not be created.\nEnding recording...\n");
© All Rights Reserved