diff options
author | jbrjake <[email protected]> | 2010-06-19 16:41:04 +0000 |
---|---|---|
committer | jbrjake <[email protected]> | 2010-06-19 16:41:04 +0000 |
commit | a4162c7667d68b8e0903dc06e98256d08032035b (patch) | |
tree | 5df1d213eef42deb05a2e122cd27f6e829dd9fca /scripts/manicure.rb | |
parent | 1f496b9534ee4a2f0e1257fe26daaabde8b0230c (diff) |
Scripts: Updates manicure to handle peak framerate.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@3394 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts/manicure.rb')
-rwxr-xr-x | scripts/manicure.rb | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb index ae1139bb0..f808b27f7 100755 --- a/scripts/manicure.rb +++ b/scripts/manicure.rb @@ -311,6 +311,10 @@ class Display else commandString << " -r " << hash["VideoFramerate"] end + + if hash["VideoFrameratePFR"] == 1 + commandString << " --pfr " + end end #Audio tracks @@ -554,6 +558,10 @@ class Display else commandString << " -r " << hash["VideoFramerate"] end + + if hash["VideoFrameratePFR"] == 1 + commandString << " --pfr " + end end #Audio tracks @@ -790,7 +798,12 @@ class Display commandString << "job->vrate_base = " << "1080000\n " # Gotta add the rest of the framerates for completion's sake. end - commandString << "job->cfr = 1;\n " + + if hash["VideoFrameratePFR"] == 1 + commandString << "job->cfr = 2;\n " + else + commandString << "job->cfr = 1;\n " + end end #Audio tracks @@ -1066,6 +1079,10 @@ class Display else commandString << " -r " << hash["VideoFramerate"] end + + if hash["VideoFrameratePFR"] == 1 + commandString << " --pfr " + end end #Audio tracks |