diff options
-rw-r--r-- | recordmydesktop/src/rmd_initialize_data.c | 2 | ||||
-rw-r--r-- | recordmydesktop/src/rmd_parseargs.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/recordmydesktop/src/rmd_initialize_data.c b/recordmydesktop/src/rmd_initialize_data.c index a95da82..4fef385 100644 --- a/recordmydesktop/src/rmd_initialize_data.c +++ b/recordmydesktop/src/rmd_initialize_data.c @@ -223,7 +223,7 @@ void rmdSetupDefaultArgs(ProgArgs *args) { args->channels = 1; args->frequency = 22050; args->buffsize = 4096; - args->v_bitrate = 45000; + args->v_bitrate = 0; args->v_quality = 63; args->s_quality = 10; diff --git a/recordmydesktop/src/rmd_parseargs.c b/recordmydesktop/src/rmd_parseargs.c index 8121ce9..e8dcb4b 100644 --- a/recordmydesktop/src/rmd_parseargs.c +++ b/recordmydesktop/src/rmd_parseargs.c @@ -215,7 +215,7 @@ boolean rmdParseArgs(int argc, char **argv, ProgArgs *arg_return) { { "v_bitrate", '\0', POPT_ARG_INT, &arg_return->v_bitrate, 0, - "A number from 45000 to 2000000 for desired encoded video bitrate(default 45000).", + "A number from 0 to 2000000 for desired encoded video bitrate(default 0).", "n" }, { "s_quality", '\0', @@ -460,8 +460,8 @@ static boolean rmdValidateArguments(const ProgArgs *args) fprintf(stdout, "--v_quality must be within the inclusive range [0-63].\n"); success = FALSE; } - if (args->v_bitrate < 45000 || args->v_quality > 2000000) { - fprintf(stdout, "--v_bitrate must be within the inclusive range [45000-2000000].\n"); + if (args->v_bitrate < 0 || args->v_quality > 2000000) { + fprintf(stdout, "--v_bitrate must be within the inclusive range [0-2000000].\n"); success = FALSE; } if (args->frequency <= 0) { |