summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob+UIAdditions.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-20 07:59:31 +0000
committerritsuka <[email protected]>2015-01-20 07:59:31 +0000
commit6f9fd9e0d521d9f74d9a76cd2de48d9d71383d35 (patch)
treef6519ee2e02c37938528045cb117a057101af925 /macosx/HBJob+UIAdditions.m
parent9f4bbdbbd67e4365466fa6b98453dd0de8983098 (diff)
MacGui: remove the public hb_state property in HBCore, fix a bug in HBVideo and change some strings in the queue job's description.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6777 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob+UIAdditions.m')
-rw-r--r--macosx/HBJob+UIAdditions.m16
1 files changed, 8 insertions, 8 deletions
diff --git a/macosx/HBJob+UIAdditions.m b/macosx/HBJob+UIAdditions.m
index 1f941e5df..d35565d79 100644
--- a/macosx/HBJob+UIAdditions.m
+++ b/macosx/HBJob+UIAdditions.m
@@ -115,8 +115,8 @@ static NSDictionary *shortHeightAttr;
{
// Start Stop is chapters
startStopString = (self.range.chapterStart == self.range.chapterStop) ?
- [NSString stringWithFormat:@"Chapter %d", self.range.chapterStart] :
- [NSString stringWithFormat:@"Chapters %d through %d", self.range.chapterStart, self.range.chapterStop];
+ [NSString stringWithFormat:@"Chapter %d", self.range.chapterStart + 1] :
+ [NSString stringWithFormat:@"Chapters %d through %d", self.range.chapterStart + 1, self.range.chapterStop + 1];
}
else if (self.range.type == HBRangeTypeSeconds)
{
@@ -338,7 +338,7 @@ static NSDictionary *shortHeightAttr;
encoderPresetInfo = [encoderPresetInfo stringByAppendingString: [NSString stringWithFormat:@" - Level: %@", self.video.level]];
}
}
- [finalString appendString: @"Encoder Options: " withAttributes:detailBoldAttr];
+ [finalString appendString: @"Video Options: " withAttributes:detailBoldAttr];
[finalString appendString: encoderPresetInfo withAttributes:detailAttr];
[finalString appendString:@"\n" withAttributes:detailAttr];
}
@@ -361,11 +361,11 @@ static NSDictionary *shortHeightAttr;
// Seventh Line Audio Details
- int audioDetailCount = 0;
- for (NSString *anAudioDetail in audioDetails) {
- audioDetailCount++;
- if (anAudioDetail.length) {
- [finalString appendString: [NSString stringWithFormat: @"Audio Track %d ", audioDetailCount] withAttributes: detailBoldAttr];
+ for (NSString *anAudioDetail in audioDetails)
+ {
+ if (anAudioDetail.length)
+ {
+ [finalString appendString: [NSString stringWithFormat: @"Audio: "] withAttributes: detailBoldAttr];
[finalString appendString: anAudioDetail withAttributes: detailAttr];
[finalString appendString: @"\n" withAttributes: detailAttr];
}