From de6e8f85686ad3f63be7fba7b4bf10aa1912a09a Mon Sep 17 00:00:00 2001 From: ritsuka Date: Mon, 26 Jan 2015 08:30:23 +0000 Subject: 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 --- macosx/HBController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'macosx/HBController.m') 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 -- cgit v1.2.3