diff options
author | dynaflash <[email protected]> | 2008-06-05 16:00:58 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2008-06-05 16:00:58 +0000 |
commit | d438d1356ef8c99dce95cc3b886085bf91df4a79 (patch) | |
tree | 87a71283686ce98ef78a607d56d7e173ba0ca918 /macosx | |
parent | 44c4de92be3a9ec7c18903b0453e477f379e430b (diff) |
Macgui: implement constant frame rate encoding for all but same as source.
- implements svn rev 1496 in the macgui
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1497 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.mm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/macosx/Controller.mm b/macosx/Controller.mm index c7f077140..4bc0ddc8e 100644 --- a/macosx/Controller.mm +++ b/macosx/Controller.mm @@ -1534,11 +1534,18 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It job->vrate = 27000000; job->vrate_base = hb_video_rates[[fVidRatePopUp indexOfSelectedItem]-1].rate; + /* We are not same as source so we set job->cfr to 1 + * to enable constant frame rate since user has specified + * a specific framerate*/ + job->cfr = 1; } else { job->vrate = title->rate; job->vrate_base = title->rate_base; + /* We are same as source so we set job->cfr to 0 + * to enable true same as source framerate */ + job->cfr = 0; } switch( [fVidQualityMatrix selectedRow] ) |