From b11e9d12e2a497cf45568cd122e10515f2d17f18 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Sat, 31 Oct 2009 16:21:26 +0000 Subject: [PATCH] CLI: Sets dvdnav as default, to match the GUIs. Disable with --no-dvdnav. git-svn-id: svn://localhost/HandBrake/trunk@2905 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- test/test.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/test/test.c b/test/test.c index 60e5aac0..c75482f0 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': -- 2.11.0