diff options
author | jbrjake <[email protected]> | 2009-10-31 16:21:26 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2009-10-31 16:21:26 +0000 |
commit | d979c872e20a8280068ca78005ec982a3eb513f9 (patch) | |
tree | bcb2d58f8d4db444f9af1b7ed512a52b8afb2da0 /test/test.c | |
parent | df94dd58a1fd61f99ce46ee06c023fd58779f11e (diff) |
CLI: Sets dvdnav as default, to match the GUIs. Disable with --no-dvdnav.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2905 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test/test.c')
-rw-r--r-- | test/test.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/test/test.c b/test/test.c index 60e5aac00..c75482f0c 100644 --- a/test/test.c +++ b/test/test.c @@ -32,7 +32,7 @@ /* Options */ static int debug = HB_DEBUG_ALL; static int update = 0; -static int dvdnav = 0; +static int dvdnav = 1; static char * input = NULL; static char * output = NULL; static char * format = NULL; @@ -2158,7 +2158,8 @@ static void ShowHelp() " if the preset name has spaces, surround it with\n" " double quotation marks\n" " -z, --preset-list See a list of available built-in presets\n" - " --dvdnav Use dvdnav (Experimental)\n" + " --no-dvdnav Do not use dvdnav for reading DVDs\n" + " (experimental, enabled by default for testing)\n" "\n" "### Source Options-----------------------------------------------------------\n\n" @@ -2499,7 +2500,7 @@ static int ParseOptions( int argc, char ** argv ) { "update", no_argument, NULL, 'u' }, { "verbose", optional_argument, NULL, 'v' }, { "cpu", required_argument, NULL, 'C' }, - { "dvdnav", no_argument, NULL, DVDNAV }, + { "no-dvdnav", no_argument, NULL, DVDNAV }, { "format", required_argument, NULL, 'f' }, { "input", required_argument, NULL, 'i' }, @@ -2616,7 +2617,7 @@ static int ParseOptions( int argc, char ** argv ) ShowPresets(); exit ( 0 ); case DVDNAV: - dvdnav = 1; + dvdnav = 0; break; case 'f': |