OSDN Git Service

First attempt at built-in presets in the CLI.
authorjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 9 Nov 2007 20:04:27 +0000 (20:04 +0000)
committerjbrjake <jbrjake@b64f7644-9d1e-0410-96f1-a4d463321fa5>
Fri, 9 Nov 2007 20:04:27 +0000 (20:04 +0000)
commitd9af4c027aa628744100c56be95ac7e2d27af5ef
treea5a97e5a7f1725af4eda5db93b0dcb587ad8fd36
parent00900337a922229044484024362fd94638642d41
First attempt at built-in presets in the CLI.

Works like so:
-Z "Preset Name"
or
--preset "Preset Name"

See a list of all presets and their CLI equivalents (useful for wrappers) this way:
-z
or
--preset-list

Any commands the user adds in addition to in and out locations override that part of the preset. File name extensions are ignored, so if you title the output movie.mp4 but use the Film preset, it will come out as an mkv with an .mp4 extension.

I've also gone and moved where x264opts get duplicated for a 2nd pass, to work better with this system.

git-svn-id: svn://localhost/HandBrake/trunk@1049 b64f7644-9d1e-0410-96f1-a4d463321fa5
test/test.c