summaryrefslogtreecommitdiffstats
path: root/scripts/manicure.rb
diff options
context:
space:
mode:
authorjstebbins <[email protected]>2010-02-10 18:37:50 +0000
committerjstebbins <[email protected]>2010-02-10 18:37:50 +0000
commitd3b3dce889d70247d0bca4f1eb532028aabdbfd6 (patch)
tree9ed23767745aef9cc0df6fb74014d0994c5fe396 /scripts/manicure.rb
parent4e3ccb761df2c6e45a64f2f55c74f04622f48256 (diff)
manicure: fix some output format issues in api generation
and fix the "-" that should have been a "=". was only used by the defunct PS3 preset, but a bug none the less. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3109 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts/manicure.rb')
-rwxr-xr-xscripts/manicure.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb
index 251c77ab3..317ea05aa 100755
--- a/scripts/manicure.rb
+++ b/scripts/manicure.rb
@@ -751,7 +751,7 @@ class Display
#iPod MP4 atom
if hash["Mp4iPodCompatible"].to_i == 1
- commandString << "job->ipod_atom = 1;\n "
+ commandString << "job->ipod_atom = 1;\n "
end
# 64-bit files
@@ -896,7 +896,7 @@ class Display
commandString << "job->crop[0] = " << hash["PictureTopCrop"].to_s << ";\n "
commandString << "job->crop[1] = " << hash["PictureBottomCrop"].to_s << ";\n "
commandString << "job->crop[2] = " << hash["PictureLeftCrop"].to_s << ";\n "
- commandString << "job->crop[4] - " << hash["PictureRightCrop"].to_s << ";\n "
+ commandString << "job->crop[4] = " << hash["PictureRightCrop"].to_s << ";\n "
end
#Dimensions
@@ -982,7 +982,7 @@ class Display
if hash["VideoGrayScale"] == 1 then commandString << "job->grayscale = 1;\n " end
if hash["VideoTwoPass"] == 1 then commandString << "twoPass = 1;\n " end
if hash["VideoTurboTwoPass"] == 1 then commandString << "turbo_opts_enabled = 1;\n" end
-
+ commandString << "\n"
commandString << "}"
# That's it, print to screen now
@@ -1254,4 +1254,4 @@ else
# Direct the user to the help
puts "\n\tUsage: manicure.rb [options]"
puts "\tSee help with -h or --help"
-end \ No newline at end of file
+end