diff options
author | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-08-14 22:57:57 +0000 |
---|---|---|
committer | iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a> | 2007-08-14 22:57:57 +0000 |
commit | 3999d6449923fdde4fce1d48fbd190a2645cede8 (patch) | |
tree | f108d068f9b5ecc52b9fc228cada75630f31111b /recordmydesktop | |
parent | e4270ef12017bd062413308b91b1afea69343347 (diff) |
parseargs.c, recordmydesktop.c: added --no-encode option.
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@408 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop')
-rw-r--r-- | recordmydesktop/src/parseargs.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/recordmydesktop.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/recordmydesktop/src/parseargs.c b/recordmydesktop/src/parseargs.c index 932e1a4..a540610 100644 --- a/recordmydesktop/src/parseargs.c +++ b/recordmydesktop/src/parseargs.c @@ -499,6 +499,8 @@ int ParseArgs(int argc,char **argv,ProgArgs *arg_return){ arg_return->full_shots=1; arg_return->follow_mouse=1; } + else if(!strcmp(argv[i],"--no-encode")) + arg_return->no_encode=1; else if(!strcmp(argv[i],"--quick-subsampling")){ arg_return->no_quick_subsample=0; } diff --git a/recordmydesktop/src/recordmydesktop.c b/recordmydesktop/src/recordmydesktop.c index d2673a7..30a2185 100644 --- a/recordmydesktop/src/recordmydesktop.c +++ b/recordmydesktop/src/recordmydesktop.c @@ -121,7 +121,7 @@ int main(int argc,char **argv){ fprintf(stderr,"\n"); //encode and then cleanup cache - if(!pdata.args.encOnTheFly){ + if(!pdata.args.encOnTheFly && !pdata.args.no_encode){ if(!Aborted){ EncodeCache(&pdata); } |