summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/manicure.rb20
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