summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorjbrjake <[email protected]>2009-06-05 16:39:32 +0000
committerjbrjake <[email protected]>2009-06-05 16:39:32 +0000
commit259bc9a5dd14e07b3fd6b5e7a6aa3cf06caf9b59 (patch)
tree16de7c84f4d107e3f45c7a935a9468b4175ecc5b /scripts
parentdfaa966ad3ef68c86db85eb47cddd7eec4a817a4 (diff)
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
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/manicure.rb16
1 files changed, 8 insertions, 8 deletions
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