From fd4a7480e74008c0e654ad9bf790a8fa6625e661 Mon Sep 17 00:00:00 2001 From: iovar Date: Wed, 8 Nov 2006 16:01:00 +0000 Subject: added --overwrite option and updated manpage accordingly git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@152 f606c939-3180-4ac9-a4b8-4b8779d57d0a --- rMD-exp/include/recordmydesktop.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rMD-exp/include') diff --git a/rMD-exp/include/recordmydesktop.h b/rMD-exp/include/recordmydesktop.h index 8a9b09e..4c3ad18 100644 --- a/rMD-exp/include/recordmydesktop.h +++ b/rMD-exp/include/recordmydesktop.h @@ -161,6 +161,7 @@ typedef struct _ProgArgs{ int encOnTheFly; //encode while recording, no caching(default 0) char *workdir; //directory to be used for cache files(default $HOME) int zerocompression;//image data are always flushed uncompressed + int overwrite;//overwite a previously existing file(do not add a .number postfix) }ProgArgs; @@ -398,7 +399,8 @@ int capture_busy, (args)->windowid=(args)->x=(args)->y\ =(args)->width=(args)->height=(args)->quietmode\ =(args)->nosound=(args)->full_shots=(args)->encOnTheFly\ - =(args)->zerocompression=(args)->nowmcheck=0;\ + =(args)->zerocompression=(args)->nowmcheck\ + =(args)->overwrite=0;\ (args)->noshared=1;\ (args)->dropframes=(args)->nocondshared=0;\ (args)->no_quick_subsample=1;\ -- cgit v1.2.3