diff options
author | jstebbins <[email protected]> | 2013-05-28 18:20:43 +0000 |
---|---|---|
committer | jstebbins <[email protected]> | 2013-05-28 18:20:43 +0000 |
commit | bbcd6ff1ec36b81935c1a059a19580a1c1bee98d (patch) | |
tree | f3f7ecb27159f5fb39a15895037d673fc33df01f /scripts | |
parent | 63737375030dd596a52c7a9b73664aaa11977977 (diff) |
Make initialization of vfr filter work as I intended.
Also fix signalling of framerate in output file when PFR is used.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5522 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/manicure.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/manicure.rb b/scripts/manicure.rb index 9e83750bf..4dc9b8db7 100755 --- a/scripts/manicure.rb +++ b/scripts/manicure.rb @@ -1073,23 +1073,23 @@ class Display #FPS if hash["VideoFramerate"] != "Same as source" if hash["VideoFramerate"] == "23.976 (NTSC Film)" - commandString << "job->vrate_base = " << "1126125;\n " + commandString << "filter_vrate_base = " << "1126125;\n " elsif hash["VideoFramerate"] == "29.97 (NTSC Video)" - commandString << "job->vrate_base = " << "900900;\n " + commandString << "filter_vrate_base = " << "900900;\n " elsif hash["VideoFramerate"] == "25 (PAL Film/Video)" - commandString << "job->vrate_base = " << "1080000;\n " + commandString << "filter_vrate_base = " << "1080000;\n " else - commandString << "job->vrate_base = " << (27000000 / hash["VideoFramerate"].to_i).to_s << ";\n " + commandString << "filter_vrate_base = " << (27000000 / hash["VideoFramerate"].to_i).to_s << ";\n " end # not same as source: pfr, else default (cfr) if hash["VideoFramerateMode"] == "pfr" - commandString << "job->cfr = 2;\n " + commandString << "filter_cfr = 2;\n " else - commandString << "job->cfr = 1;\n " + commandString << "filter_cfr = 1;\n " end # same as source: cfr, else default (vfr) elsif hash["VideoFramerateMode"] == "cfr" - commandString << "job->cfr = 1;\n " + commandString << "filter_cfr = 1;\n " end #Audio tracks |