diff options
author | eddyg <[email protected]> | 2008-01-22 01:47:52 +0000 |
---|---|---|
committer | eddyg <[email protected]> | 2008-01-22 01:47:52 +0000 |
commit | 39dbf0793dca0c753e64449557be0d69e82f09cd (patch) | |
tree | 80d9e8e5b1463afb67c082cfc5ef3160e00b292c /macosx/HBQueueController.mm | |
parent | b9f55593d81827217fe13f9b1b09f3cc5a6792a6 (diff) |
Put the correct subtitle language in the Queue for the Mac GUI.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@1220 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.mm')
-rw-r--r-- | macosx/HBQueueController.mm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index 75095af69..81da938ff 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -156,7 +156,7 @@ static NSDictionary* _shortHeightAttribute = NULL; titleHeight = job->title->height; if (job->subtitle >= 0) { - hb_subtitle_t * aSubtitle = (hb_subtitle_t *) hb_list_item(job->title->list_subtitle, 0); + hb_subtitle_t * aSubtitle = (hb_subtitle_t *) hb_list_item(job->title->list_subtitle, job->subtitle); if (aSubtitle) subtitleLang = [[NSString stringWithUTF8String:aSubtitle->lang] retain]; } @@ -508,7 +508,7 @@ static NSDictionary* _shortHeightAttribute = NULL; if (withSubtitleInfo) { - // subtitle can == -1 in two cases: + // subtitle scan == -1 in two cases: // autoselect: when pass == -1 // none: when pass != -1 if ((subtitle == -1) && (pass == -1)) |