diff options
author | Rodeo <[email protected]> | 2012-10-27 15:47:26 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2012-10-27 15:47:26 +0000 |
commit | 6e0bfe97e11b8989d671ab7f55e2d2432fff88b9 (patch) | |
tree | d26f5d4674135c45ba18efbb722fdb373f085bae /scripts | |
parent | e9299056b3ed8f09f426bbec543e7373d9fc6bc3 (diff) |
manicure: add PictureModulus support.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5033 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/manicure.rb | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb index a268ff1b1..36626363e 100755 --- a/scripts/manicure.rb +++ b/scripts/manicure.rb @@ -580,6 +580,11 @@ class Display commandString << " --custom-anamorphic" end + #Modulus + if hash["PictureModulus"] + commandString << " --modulus " << hash["PictureModulus"].to_s + end + #Booleans if hash["ChapterMarkers"] == 1 then commandString << " -m" end if hash["VideoGrayScale"] == 1 then commandString << " -g" end @@ -932,6 +937,11 @@ class Display commandString << " --custom-anamorphic" end + #Modulus + if hash["PictureModulus"] + commandString << " --modulus " << hash["PictureModulus"].to_s + end + #Booleans if hash["ChapterMarkers"] == 1 then commandString << " -m" end if hash["VideoGrayScale"] == 1 then commandString << " -g" end @@ -1306,6 +1316,11 @@ class Display commandString << "}\n " end + #Modulus + if hash["PictureModulus"] + commandString << "modulus = " << hash["PictureModulus"].to_s << ";\n " + end + #Booleans if hash["ChapterMarkers"] == 1 then commandString << "job->chapter_markers = 1;\n " end if hash["VideoGrayScale"] == 1 then commandString << "job->grayscale = 1;\n " end @@ -1659,6 +1674,11 @@ class Display commandString << " --custom-anamorphic" end + #Modulus + if hash["PictureModulus"] + commandString << " --modulus " << hash["PictureModulus"].to_s + end + #Booleans if hash["ChapterMarkers"] == 1 then commandString << " -m" end if hash["VideoGrayScale"] == 1 then commandString << " -g" end |