diff options
author | Damiano Galassi <[email protected]> | 2017-03-15 16:32:36 +0100 |
---|---|---|
committer | Damiano Galassi <[email protected]> | 2017-03-15 16:32:36 +0100 |
commit | 47e8afedda17efa8a266ea6ae87d9539b6b6753d (patch) | |
tree | 42c72fcf1a1b9b7867814adc6a256ba09cfd413c | |
parent | 9c0c958582c3c793136f08f6635059605a31d8be (diff) |
MacGui: remove two unused vars.
-rw-r--r-- | macosx/HBTitle.m | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/macosx/HBTitle.m b/macosx/HBTitle.m index 25e3e8002..3a6bc134b 100644 --- a/macosx/HBTitle.m +++ b/macosx/HBTitle.m @@ -214,14 +214,8 @@ extern NSString *keySubTrackType; { hb_subtitle_t *subtitle = hb_list_item(self.hb_title->list_subtitle, i); - // Human-readable representation of subtitle->source - NSString *bitmapOrText = subtitle->format == PICTURESUB ? @"Bitmap" : @"Text"; - NSString *subSourceName = @(hb_subsource_name(subtitle->source)); - - NSString *lang = @(subtitle->lang); - - /* create a dictionary of source subtitle information to store in our array */ - [tracks addObject:@{keySubTrackName: [NSString stringWithFormat:@"%d: %@", i, lang], + // create a dictionary of source subtitle information to store in our array + [tracks addObject:@{keySubTrackName: [NSString stringWithFormat:@"%d: %@", i, @(subtitle->lang)], keySubTrackType: @(subtitle->source), keySubTrackLanguageIsoCode: @(subtitle->iso639_2)}]; } |