summaryrefslogtreecommitdiffstats
path: root/macosx/HBJob.m
diff options
context:
space:
mode:
authorritsuka <[email protected]>2014-11-29 09:42:33 +0000
committerritsuka <[email protected]>2014-11-29 09:42:33 +0000
commitd364449a2ec863db317422645d5c7a927d294654 (patch)
treebeb7680b553fde1a735b312153aa4ba14330ab12 /macosx/HBJob.m
parenta8cbe091a3a7f49bd9470c207d71a64d50bac6b2 (diff)
MacGui: improvement to the HBCore class, use it in HBPreviewGenerator. Added some classes to be used in the near future.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6566 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r--macosx/HBJob.m12
1 files changed, 6 insertions, 6 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m
index 78e6a317b..a7943f3c0 100644
--- a/macosx/HBJob.m
+++ b/macosx/HBJob.m
@@ -5,8 +5,8 @@
It may be used under the terms of the GNU General Public License. */
#import "HBJob.h"
-#import "HBAudioSettings.h"
-#import "HBSubtitlesSettings.h"
+#import "HBAudioDefaults.h"
+#import "HBSubtitlesDefaults.h"
#import "HBPreset.h"
#include "lang.h"
@@ -47,8 +47,8 @@ extern NSString *keySubTrackSrtCharCode;
_subtitlesTracks = [[NSMutableArray alloc] init];
_chapters = [[NSMutableArray alloc] init];
- _audioSettings = [[HBAudioSettings alloc] init];
- _subtitlesSettings = [[HBSubtitlesSettings alloc] init];
+ _audioDefaults = [[HBAudioDefaults alloc] init];
+ _subtitlesDefaults = [[HBSubtitlesDefaults alloc] init];
[self loadAudioTracks];
[self loadSubtitlesTracks];
@@ -59,8 +59,8 @@ extern NSString *keySubTrackSrtCharCode;
- (void)applyPreset:(HBPreset *)preset
{
- [self.audioSettings applySettingsFromPreset:preset.content];
- [self.subtitlesSettings applySettingsFromPreset:preset.content];
+ [self.audioDefaults applySettingsFromPreset:preset.content];
+ [self.subtitlesDefaults applySettingsFromPreset:preset.content];
}
#pragma mark - initialization