diff options
author | dynaflash <[email protected]> | 2011-07-19 17:49:19 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2011-07-19 17:49:19 +0000 |
commit | 30a27fdddd3cf46a18ae1c0669cf74c994c12eb9 (patch) | |
tree | 5724e0d1202034064fe522480cebd1e3829c9795 /macosx/HBAudioController.m | |
parent | 18286c6ba6c0cb57b3a1555730877af7fc46c24e (diff) |
MacGUI: use "AC3 (ffmpeg)" to designate the ffac3 encoder (for consistency).
- Patch by Rodeo
- This patch switches the codec name from "AC3" to "AC3 (ffmpeg)" for consistency.
- Backwards-compatibility with old presets is handled by mapping "AC3" to "AC3 (ffmpeg)" when loading a preset.
- Referenced here https://reviews.handbrake.fr/r/155/
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4124 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioController.m')
-rw-r--r-- | macosx/HBAudioController.m | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/HBAudioController.m b/macosx/HBAudioController.m index c350a80ac..ec9314697 100644 --- a/macosx/HBAudioController.m +++ b/macosx/HBAudioController.m @@ -304,10 +304,15 @@ NSString *HBMixdownChangedNotification = @"HBMixdownChangedNotification"; { if (![newAudio setCodecFromName: key]) { - [dict setObject: @"AC3" forKey: @"AudioEncoder"]; + [dict setObject: @"AC3 (ffmpeg)" forKey: @"AudioEncoder"]; fallenBack = YES; } } + if ([key isEqualToString: @"AC3"]) + { + [dict setObject: @"AC3 (ffmpeg)" forKey: @"AudioEncoder"]; + } + // If our preset does not contain a drc or gain value set it to a default of 0.0 if (![dict objectForKey: @"AudioTrackDRCSlider"]) |