summaryrefslogtreecommitdiffstats
path: root/macosx/HBController.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2015-01-28 07:02:14 +0000
committerritsuka <[email protected]>2015-01-28 07:02:14 +0000
commitf43b6191ff7fd037413500cd1902eb63a50c5e3a (patch)
tree57650365ef8c8ee2fd93253184c982746a1d2cbb /macosx/HBController.m
parent12def0ed27098092a7a998eaa29886770071a2b4 (diff)
MacGui: use the current settings when adding titles directly to the queue.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6823 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBController.m')
-rw-r--r--macosx/HBController.m5
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBController.m b/macosx/HBController.m
index 2cc63cfaf..df36adc14 100644
--- a/macosx/HBController.m
+++ b/macosx/HBController.m
@@ -1201,11 +1201,14 @@
NSMutableArray *jobs = [[NSMutableArray alloc] init];
BOOL fileExists = NO;
+ // Get the preset from the loaded job.
+ HBPreset *preset = [self createPresetFromCurrentSettings];
+
for (HBTitle *title in self.core.titles)
{
if ([indexes containsIndex:title.index])
{
- HBJob *job = [[HBJob alloc] initWithTitle:title andPreset:self.selectedPreset];
+ HBJob *job = [[HBJob alloc] initWithTitle:title andPreset:preset];
job.destURL = [self destURLForJob:job];
job.title = nil;
[jobs addObject:job];