summaryrefslogtreecommitdiff
path: root/recordmydesktop
diff options
context:
space:
mode:
Diffstat (limited to 'recordmydesktop')
-rw-r--r--recordmydesktop/src/parseargs.c2
-rw-r--r--recordmydesktop/src/recordmydesktop.c2
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);
}
© All Rights Reserved