From 369d79296ffb59639735bb3f3c4c988fc982a7ad Mon Sep 17 00:00:00 2001 From: Rodeo Date: Sat, 27 Oct 2012 16:08:33 +0000 Subject: manicure: fix VideoFramerate. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5035 b64f7644-9d1e-0410-96f1-a4d463321fa5 --- scripts/manicure.rb | 5 +++-- 1 file 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" -- cgit v1.2.3