diff options
author | Rodeo <[email protected]> | 2013-03-13 13:45:38 +0000 |
---|---|---|
committer | Rodeo <[email protected]> | 2013-03-13 13:45:38 +0000 |
commit | 5793ee9698de59ab0bd67bdd4f707248fe7833fc (patch) | |
tree | ef6f79d88ad070c2004162770b5e7d35bd7d83c1 /macosx/Controller.m | |
parent | f63fa6278da1fb3f4602084d101673b7458ce8d9 (diff) |
MacGui: fix external SRT subtitles after last commit.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@5326 b64f7644-9d1e-0410-96f1-a4d463321fa5
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; |