summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-11-02 18:48:40 +0000
committerritsuka <[email protected]>2014-11-02 18:48:40 +0000
commitf61c65a1b0654fb3569b0cc82fad001db635c370 (patch)
tree991435e2a1747189852bad8364c0003ed64439e9 /macosx
parente51510d3efc7f3743ff79cb97de74cc8b87d3e6d (diff)
MacGui: revert the formats names to "MP4 File"/"MKV File" .
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6501 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx')
-rw-r--r--macosx/Controller.m15
1 files changed, 14 insertions, 1 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index a32f71cf4..b6fa82303 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -634,7 +634,20 @@ static NSString * ChooseSourceIdentifier = @"Choose Source It
container != NULL;
container = hb_container_get_next(container))
{
- menuItem = [[fDstFormatPopUp menu] addItemWithTitle:[NSString stringWithUTF8String:container->name]
+ NSString *title = nil;
+ if (container->format & HB_MUX_MASK_MP4)
+ {
+ title = @"MP4 File";
+ }
+ else if (container->format & HB_MUX_MASK_MKV)
+ {
+ title = @"MKV File";
+ }
+ else
+ {
+ title = [NSString stringWithUTF8String:container->name];
+ }
+ menuItem = [[fDstFormatPopUp menu] addItemWithTitle:title
action:nil
keyEquivalent:@""];
[menuItem setTag:container->format];