From 259bc9a5dd14e07b3fd6b5e7a6aa3cf06caf9b59 Mon Sep 17 00:00:00 2001 From: jbrjake Date: Fri, 5 Jun 2009 16:39:32 +0000 Subject: CLI: Implements custom anamorphic. No more -p or -P. Choices are --strict-anamorphic, --loose-anamorphic, and the new --custom-anamorphic. The last of which also handles --pixel-aspect, --display-width, --itu-par, --modulus, and --keep-display-aspect options. Loose will also obey the pixel aspect and ITU PAR options. Libhb: Fixed a small bug with custom anamorphic working off the source's display aspect even when dealing with a custom display aspect, and made the job config display aware that custom anamorphic exists. Scripts: Updated manicure to write the new anamorphic option names. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2487 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- scripts/manicure.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'scripts') diff --git a/scripts/manicure.rb b/scripts/manicure.rb index 982fe3f1c..32ea30e50 100755 --- a/scripts/manicure.rb +++ b/scripts/manicure.rb @@ -473,9 +473,9 @@ class Display #Anamorphic if hash["PicturePAR"] == 1 - commandString << " -p" + commandString << " --strict-anamorphic" elsif hash["PicturePAR"] == 2 - commandString << " -P" + commandString << " --loose-anamorphic" end #Booleans @@ -718,9 +718,9 @@ class Display #Anamorphic if hash["PicturePAR"] == 1 - commandString << " -p" + commandString << " --strict-anamorphic" elsif hash["PicturePAR"] == 2 - commandString << " -P" + commandString << " --loose-anamorphic" end #Booleans @@ -982,9 +982,9 @@ class Display #Anamorphic if hash["PicturePAR"] == 1 - commandString << "pixelratio = 1;\n " + commandString << "anamorphic_mode = 1;\n " elsif hash["PicturePAR"] == 2 - commandString << "pixelratio = 2;\n " + commandString << "anamorphic_mode = 2;\n " end #Booleans @@ -1228,9 +1228,9 @@ class Display #Anamorphic if hash["PicturePAR"] == 1 - commandString << " -p" + commandString << " --strict-anamorphic" elsif hash["PicturePAR"] == 2 - commandString << " -P" + commandString << " --loose-anamorphic" end #Booleans -- cgit v1.2.3