summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-26 08:30:23 +0000
committerritsuka <[email protected]>2015-01-26 08:30:23 +0000
commitde6e8f85686ad3f63be7fba7b4bf10aa1912a09a (patch)
treeaa4a061b01b810e38a6d3af245a2380aceb58839 /macosx/HBController.m
parent9545f5c9b6c3160b0e6cba9344232cb9e1493aaf (diff)
MacGui: add a method to return a CGImageRef for a preview in HBCore, and skip the alpha to use less memory. Use a dispatch_source as a timer in HBCore so we will be able to run the update loop on its own thread. Remove the pointer to hb_handle_t, no class outside HBCore uses it.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6816 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 9de07ef23..75c3c5ef1 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -791,7 +791,7 @@
// Generate a new file name
NSString *fileName = [HBUtilities automaticNameForSource:title.name
- title:title.hb_title->index
+ title:title.index
chapters:NSMakeRange(self.job.range.chapterStart + 1, self.job.range.chapterStop + 1)
quality:self.job.video.qualityType ? self.job.video.quality : 0
bitrate:!self.job.video.qualityType ? self.job.video.avgBitrate : 0