summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBJob+UIAdditions.m9
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]));
}