diff options
author | ritsuka <[email protected]> | 2014-12-20 07:35:57 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-20 07:35:57 +0000 |
commit | cddf20e07af6fa76c9f1a44af76d39455ddf35cc (patch) | |
tree | f421afbe2e7615a534b1f4e3f62b551e9fdb1ff7 | |
parent | efed9e46514070a25896461d2299f61ca5dc6194 (diff) |
MacGui: fix frame rate when loading a queue item.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6615 b64f7644-9d1e-0410-96f1-a4d463321fa5
-rw-r--r-- | macosx/HBVideo.h | 3 | ||||
-rw-r--r-- | macosx/HBVideo.m | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBVideo.h b/macosx/HBVideo.h index 3d5b3a608..ad7824b48 100644 --- a/macosx/HBVideo.h +++ b/macosx/HBVideo.h @@ -7,6 +7,9 @@ #import <Foundation/Foundation.h> #include "hb.h" +/** + * HBVideo + */ @interface HBVideo : NSObject - (void)applySettingsFromPreset:(NSDictionary *)preset; diff --git a/macosx/HBVideo.m b/macosx/HBVideo.m index 4d68e93d9..3a709cadb 100644 --- a/macosx/HBVideo.m +++ b/macosx/HBVideo.m @@ -628,7 +628,7 @@ } } - self.frameRate = [queueToApply[@"JobIndexVideoFramerate"] intValue]; + self.frameRate = hb_video_framerate_get_from_name([queueToApply[@"VideoFramerate"] UTF8String]); self.twoPass = [queueToApply[@"VideoTwoPass"] intValue]; self.turboTwoPass = [queueToApply[@"VideoTurboTwoPass"] intValue]; |