summaryrefslogtreecommitdiffstats
path: root/scripts/manicure.rb
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/manicure.rb')
-rwxr-xr-xscripts/manicure.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb
index 36626363e..6b86f0a65 100755
--- a/scripts/manicure.rb
+++ b/scripts/manicure.rb
@@ -1023,8 +1023,9 @@ class Display
elsif hash["VideoFramerate"] == "29.97 (NTSC Video)"
commandString << "job->vrate_base = " << "900900;\n "
elsif hash["VideoFramerate"] == "25 (PAL Film/Video)"
- commandString << "job->vrate_base = " << "1080000\n "
- # Gotta add the rest of the framerates for completion's sake.
+ commandString << "job->vrate_base = " << "1080000;\n "
+ else
+ commandString << "job->vrate_base = " << (27000000 / hash["VideoFramerate"].to_i).to_s << ";\n "
end
# not same as source: pfr, else default (cfr)
if hash["VideoFramerateMode"] == "pfr"