summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--recordmydesktop/doc/recordmydesktop.16
-rw-r--r--recordmydesktop/include/recordmydesktop.h3
-rw-r--r--recordmydesktop/src/parseargs.c6
3 files changed, 8 insertions, 7 deletions
diff --git a/recordmydesktop/doc/recordmydesktop.1 b/recordmydesktop/doc/recordmydesktop.1
index 5853662..e7f6c58 100644
--- a/recordmydesktop/doc/recordmydesktop.1
+++ b/recordmydesktop/doc/recordmydesktop.1
@@ -235,8 +235,8 @@ Encoding Options:
.br
.TP
.B
- \-\-no\-framedrop
- Do not allow theora encoder to drop frames(this can raise proccessing times enough).
+ \-\-drop\-frames
+ Allow theora encoder to drop frames(this can significantly lower proccessing times).
.br
.TP
.B
@@ -283,7 +283,7 @@ If no other option is specified, filename can be given without the \-o switch.
.br
\-display DISPLAY| \-x X| \-y Y|\-width N| \-height N| \-fps N(number>0)|
.br
-\-v_quality n| \-s_quality n| \-v_bitrate n| \-\-no\-framedrop| \-dummy\-cursor color| \-\-no\-dummy\-cursor|
+\-v_quality n| \-s_quality n| \-v_bitrate n| \-\-drop\-frames| \-dummy\-cursor color| \-\-no\-dummy\-cursor|
.br
\-freq N(number>0)| \-channels N(number>0)| \-device SOUND_DEVICE| \-\-nosound|
.br
diff --git a/recordmydesktop/include/recordmydesktop.h b/recordmydesktop/include/recordmydesktop.h
index 6d97462..d274fdc 100644
--- a/recordmydesktop/include/recordmydesktop.h
+++ b/recordmydesktop/include/recordmydesktop.h
@@ -263,7 +263,8 @@ int avd;
(args)->windowid=(args)->x=(args)->y\
=(args)->width=(args)->height=(args)->quietmode\
=(args)->nosound=(args)->scshot=(args)->full_shots=0;\
- (args)->noshared=(args)->scale_shot=(args)->dropframes=1;\
+ (args)->noshared=(args)->scale_shot=0;\
+ (args)->dropframes=0;\
(args)->filename=(char *)malloc(8);\
strcpy((args)->filename,"out.ogg");\
(args)->encoding=OGG_THEORA_VORBIS;\
diff --git a/recordmydesktop/src/parseargs.c b/recordmydesktop/src/parseargs.c
index d524c35..fd1f776 100644
--- a/recordmydesktop/src/parseargs.c
+++ b/recordmydesktop/src/parseargs.c
@@ -64,7 +64,7 @@ int ParseArgs(int argc,char **argv,ProgArgs *arg_return){
"Encoding Options\n"
"\t-v_quality n\t\tA number from 0 to 63 for desired encoded video quality(default 63).\n"
"\t-v_bitrate n\t\tA number from 45000 to 2000000 for desired encoded video bitrate(default 45000).\n"
- "\t--no-framedrop\t\tDo not allow theora encoder to drop frames.\n"
+ "\t--drop-frames\t\tAllow theora encoder to drop frames.\n"
"\t-s_quality n\t\tDesired audio quality(-1 to 10).\n\n"
"Misc Options:\n"
@@ -358,8 +358,8 @@ int ParseArgs(int argc,char **argv,ProgArgs *arg_return){
}
else if(!strcmp(argv[i],"--nosound"))
arg_return->nosound=1;
- else if(!strcmp(argv[i],"--no-framedrop"))
- arg_return->dropframes=0;
+ else if(!strcmp(argv[i],"--drop-frames"))
+ arg_return->dropframes=1;
else if(!strcmp(argv[i],"--with-shared"))
arg_return->noshared=0;
else if(!strcmp(argv[i],"--full-shots"))
© All Rights Reserved