summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/parseargs.c
diff options
context:
space:
mode:
authorbiocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-07-14 19:42:19 +0000
committerbiocrasher <biocrasher@f606c939-3180-4ac9-a4b8-4b8779d57d0a>2006-07-14 19:42:19 +0000
commit3fc7324d4ceacb40e2c919ac0821568e9518795a (patch)
tree090e2ece0ab5fd48a8e23e830f9fd767102de81f /recordmydesktop/src/parseargs.c
parent1583f3b9199ec5dd12c29375aecb9cede3ece770 (diff)
framedrop option added,performance improvements
git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@8 f606c939-3180-4ac9-a4b8-4b8779d57d0a
Diffstat (limited to 'recordmydesktop/src/parseargs.c')
-rw-r--r--recordmydesktop/src/parseargs.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/recordmydesktop/src/parseargs.c b/recordmydesktop/src/parseargs.c
index ea82920..d524c35 100644
--- a/recordmydesktop/src/parseargs.c
+++ b/recordmydesktop/src/parseargs.c
@@ -33,7 +33,7 @@ int ParseArgs(int argc,char **argv,ProgArgs *arg_return){
char *usage="\nUsage:\n"
"\trecordmydesktop [-h| --help| --version| -delay n[H|h|M|m]| -windowid id_of_window|\n"
"\t-display DISPLAY| -x X| -y Y|-width N| -height N| -fps N(number>0)|\n"
- "\t -v_quality n| -s_quality n| -v_bitrate n| -dummy-cursor color| --no-dummy-cursor|\n"
+ "\t -v_quality n| -s_quality n| -v_bitrate n| --no-framedrop| -dummy-cursor color| --no-dummy-cursor|\n"
"\t -freq N(number>0)| -channels N(number>0)| -device SOUND_DEVICE| --nosound|\n"
"\t --with-shared| --full-shots| --scshot| -scale-shot N| -o filename]^filename\n\n\n"
@@ -64,6 +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-s_quality n\t\tDesired audio quality(-1 to 10).\n\n"
"Misc Options:\n"
@@ -357,6 +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],"--with-shared"))
arg_return->noshared=0;
else if(!strcmp(argv[i],"--full-shots"))
© All Rights Reserved