diff options
author | jstebbins <[email protected]> | 2015-05-13 20:27:24 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2015-05-13 20:27:24 +0000 |
commit | 38974a047e4602615297c8b3f4579b3189f84af9 (patch) | |
tree | eef9c47339c8990fd1de65c217439689b669d36a /test | |
parent | 63d5cc748dc092ec3b942d203fb36846084777b6 (diff) |
cli: restore -O, -I, -P, -U, and -g options
I inadvertainly disabled them when "simplifying" things.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7176 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'test')
-rw-r--r-- | test/test.c | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/test/test.c b/test/test.c index 33624dafb..2a01f32e0 100644 --- a/test/test.c +++ b/test/test.c @@ -1759,12 +1759,12 @@ static int ParseOptions( int argc, char ** argv ) { "format", required_argument, NULL, 'f' }, { "input", required_argument, NULL, 'i' }, { "output", required_argument, NULL, 'o' }, - { "optimize", no_argument, &mp4_optimize, 1 }, + { "optimize", no_argument, NULL, 'O' }, { "no-optimize", no_argument, &mp4_optimize, 0 }, - { "ipod-atom", no_argument, &ipod_atom, 1 }, + { "ipod-atom", no_argument, NULL, 'I' }, { "no-ipod-atom",no_argument, &ipod_atom, 0 }, - { "use-opencl", no_argument, &use_opencl, 1 }, - { "use-hwd", no_argument, &use_hwd, 1 }, + { "use-opencl", no_argument, NULL, 'P' }, + { "use-hwd", no_argument, NULL, 'U' }, { "no-hwd", no_argument, &use_hwd, 0 }, { "title", required_argument, NULL, 't' }, @@ -1816,7 +1816,7 @@ static int ParseOptions( int argc, char ** argv ) { "no-detelecine", no_argument, &detelecine_disable, 1 }, { "decomb", optional_argument, NULL, '5' }, { "no-decomb", no_argument, &decomb_disable, 1 }, - { "grayscale", no_argument, &grayscale, 1 }, + { "grayscale", no_argument, NULL, 'g' }, { "no-grayscale",no_argument, &grayscale, 0 }, { "rotate", optional_argument, NULL, ROTATE_FILTER }, { "non-anamorphic", no_argument, &anamorphic_mode, 0 }, @@ -1983,6 +1983,18 @@ static int ParseOptions( int argc, char ** argv ) case 'o': output = strdup( optarg ); break; + case 'O': + mp4_optimize = 1; + break; + case 'I': + ipod_atom = 1; + break; + case 'P': + use_opencl = 1; + break; + case 'U': + use_hwd = 1; + break; case 't': titleindex = atoi( optarg ); break; @@ -2227,6 +2239,9 @@ static int ParseOptions( int argc, char ** argv ) decomb = strdup("default"); } break; + case 'g': + grayscale = 1; + break; case ROTATE_FILTER: free(rotate); if (optarg != NULL) |