From 3999d6449923fdde4fce1d48fbd190a2645cede8 Mon Sep 17 00:00:00 2001 From: iovar Date: Tue, 14 Aug 2007 22:57:57 +0000 Subject: 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 --- recordmydesktop/src/parseargs.c | 2 ++ recordmydesktop/src/recordmydesktop.c | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'recordmydesktop') 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); } -- cgit v1.2.3