diff options
author | dynaflash <[email protected]> | 2009-06-30 20:00:42 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2009-06-30 20:00:42 +0000 |
commit | e9177d00a0e203f2401a1a94afc1b51f16d45fb9 (patch) | |
tree | 73b209137167e33008717fe34c617b82e9629f0b /macosx/HBQueueController.mm | |
parent | f3dba402eaac64111e9893d49b63e44591bde050 (diff) |
MacGui: include deep scan ( subtitle foreign language search) pass information in both the queue window and on the progress bar for the deep scan pass.
- Also removed one queue increment debug log line
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2650 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBQueueController.mm')
-rw-r--r-- | macosx/HBQueueController.mm | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/macosx/HBQueueController.mm b/macosx/HBQueueController.mm index 3a5319283..02e408f92 100644 --- a/macosx/HBQueueController.mm +++ b/macosx/HBQueueController.mm @@ -967,20 +967,25 @@ return ![(HBQueueOutlineView*)outlineView isDragging]; [NSString stringWithFormat:@"Chapter %d", [[item objectForKey:@"ChapterStart"] intValue]] : [NSString stringWithFormat:@"Chapters %d through %d", [[item objectForKey:@"ChapterStart"] intValue], [[item objectForKey:@"ChapterEnd"] intValue]]; - NSString * passesString; + NSString * passesString = @""; + /* check to see if our first subtitle track is Foreign Language Search, in which case there is an in depth scan */ + if ([item objectForKey:@"SubtitleList"] && [[[[item objectForKey:@"SubtitleList"] objectAtIndex:0] objectForKey:@"subtitleSourceTrackNum"] intValue] == 1) + { + passesString = [passesString stringByAppendingString:@"1 Foreign Language Search Pass - "]; + } if ([[item objectForKey:@"VideoTwoPass"] intValue] == 0) { - passesString = [NSString stringWithFormat:@"1 Video Pass"]; + passesString = [passesString stringByAppendingString:@"1 Video Pass"]; } else { if ([[item objectForKey:@"VideoTurboTwoPass"] intValue] == 1) { - passesString = [NSString stringWithFormat:@"2 Video Passes Turbo"]; + passesString = [passesString stringByAppendingString:@"2 Video Passes First Turbo"]; } else { - passesString = [NSString stringWithFormat:@"2 Video Passes"]; + passesString = [passesString stringByAppendingString:@"2 Video Passes"]; } } |