diff options
Diffstat (limited to 'macosx')
-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)}]; } |