diff options
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r-- | macosx/Controller.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m index b1faa7d08..79ef5da5e 100644 --- a/macosx/Controller.m +++ b/macosx/Controller.m @@ -3452,7 +3452,7 @@ bool one_burned = FALSE; else { /* if we are getting the subtitles from an external srt file */ - if ([[tempObject objectForKey:@"subtitleSourceTrackType"] isEqualToString:@"SRT"]) + if ([[tempObject objectForKey:@"subtitleSourceTrackType"] intValue] == SRTSUB) { hb_subtitle_config_t sub_config; @@ -4012,7 +4012,7 @@ bool one_burned = FALSE; else { /* if we are getting the subtitles from an external srt file */ - if ([[tempObject objectForKey:@"subtitleSourceTrackType"] isEqualToString:@"SRT"]) + if ([[tempObject objectForKey:@"subtitleSourceTrackType"] intValue] == SRTSUB) { hb_subtitle_config_t sub_config; |