diff options
author | ritsuka <[email protected]> | 2015-01-07 07:09:41 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-01-07 07:09:41 +0000 |
commit | e9e3facee1ec8236547d23eb1e4bea11fa8b295c (patch) | |
tree | d543901193c9b2d5fb9db455b557dbfad75c0922 /macosx/HBJob+UIAdditions.m | |
parent | fefb2423b537055fa2bc7515550bfc5dd4bba02e (diff) |
MacGui: handle the localised container strings manually.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6692 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob+UIAdditions.m')
-rw-r--r-- | macosx/HBJob+UIAdditions.m | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m index e328c95c0..432478a42 100644 --- a/macosx/HBJob+UIAdditions.m +++ b/macosx/HBJob+UIAdditions.m @@ -97,6 +97,15 @@ - (id)reverseTransformedValue:(id)value { + if ([value isEqualToString:NSLocalizedString(@"MP4 File", @"")]) + { + return @(HB_MUX_AV_MP4); + } + else if ([value isEqualToString:NSLocalizedString(@"MKV File", @"")]) + { + return @(HB_MUX_AV_MKV); + } + return @(hb_container_get_from_name([value UTF8String])); } |