diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-11-17 00:29:49 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2006-11-17 00:29:49 +0000 |
commit | 310cea82d554ea06d04b27adcc058988ef83cc83 (patch) | |
tree | 1439c78703525078f7b0139253152ee8feb590ec | |
parent | 9ff09ebf4b2e4dd5c53c98ee55eb03d4444b7c8f (diff) |
default working directory changed to /tmp
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@180 f606c939-3180-4ac9-a4b8-4b8779d57d0a
-rw-r--r-- | gtk-recordmydesktop/src/rmdConfig.py.in | 2 | ||||
-rw-r--r-- | recordmydesktop/include/recordmydesktop.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/gtk-recordmydesktop/src/rmdConfig.py.in b/gtk-recordmydesktop/src/rmdConfig.py.in index 2c5d873..8753c59 100644 --- a/gtk-recordmydesktop/src/rmdConfig.py.in +++ b/gtk-recordmydesktop/src/rmdConfig.py.in @@ -24,7 +24,7 @@ default_values=[15, #framerate 1, #drop frames,unused in 0.3,0 on 1 off 75, #shared threshold 1, #quick subsampling,0 on 1 off - os.path.join(os.getenv('HOME')), #working directory + "/tmp", #working directory 1, #on the fly encoding,0 on 1 off 1, #zero compression,0 on 1 off False #overwrite existing files diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h index 74e30b8..585a3d1 100644 --- a/recordmydesktop/include/recordmydesktop.h +++ b/recordmydesktop/include/recordmydesktop.h @@ -420,8 +420,8 @@ int capture_busy, (args)->v_bitrate=45000;\ (args)->v_quality=63;\ (args)->s_quality=10;\ - (args)->workdir=(char *)malloc(strlen(getenv("HOME"))+1);\ - strcpy((args)->workdir,getenv("HOME"));\ + (args)->workdir=(char *)malloc(5);\ + strcpy((args)->workdir,"/tmp");\ } #define QUERY_DISPLAY_SPECS(display,specstruct){\ |