diff options
-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){\ |