diff options
author | ritsuka <[email protected]> | 2014-11-13 07:07:53 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-11-13 07:07:53 +0000 |
commit | 3db705fd761c286f8ff96dbe0687b44375756289 (patch) | |
tree | 5ed57d5ddba741d111f7ea52314deae116e73e40 /macosx | |
parent | b84cb4347c8f67ac17f7f0591f80cf0cfc59c82f (diff) |
MacGui: convert the TrackDRCSlider value to a double instead of an int.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6513 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r-- | macosx/Controller.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index 836e259ef..1f3f00b9d 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -3153,8 +3153,8 @@ fWorkingCount = 0; audio->out.normalize_mix_level = 0; audio->out.bitrate = [audioDict[@"JobBitrate"] intValue]; audio->out.samplerate = [audioDict[@"JobSamplerate"] intValue]; - audio->out.dynamic_range_compression = [audioDict[@"TrackDRCSlider"] floatValue]; - audio->out.gain = [audioDict[@"TrackGainSlider"] floatValue]; + audio->out.dynamic_range_compression = [audioDict[@"TrackDRCSlider"] doubleValue]; + audio->out.gain = [audioDict[@"TrackGainSlider"] doubleValue]; audio->out.dither_method = hb_audio_dither_get_default(); hb_audio_add(job, audio); @@ -3671,8 +3671,8 @@ fWorkingCount = 0; audio->out.normalize_mix_level = 0; audio->out.bitrate = [audioDict[@"JobBitrate"] intValue]; audio->out.samplerate = [audioDict[@"JobSamplerate"] intValue]; - audio->out.dynamic_range_compression = [audioDict[@"TrackDRCSlider"] intValue]; - audio->out.gain = [audioDict[@"TrackGainSlider"] intValue]; + audio->out.dynamic_range_compression = [audioDict[@"TrackDRCSlider"] doubleValue]; + audio->out.gain = [audioDict[@"TrackGainSlider"] doubleValue]; audio->out.dither_method = hb_audio_dither_get_default(); hb_audio_add(job, audio); |