diff options
author | ritsuka <[email protected]> | 2014-12-21 12:55:37 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-12-21 12:55:37 +0000 |
commit | 6305d5f38aa273b0e8269db050eb1e958b55bd26 (patch) | |
tree | b7a261e62f40df2996b88a486179ad56c4577009 /macosx/HBSubtitlesController.m | |
parent | 10456acef42e907d7aeec5f79574831aef2d4cc6 (diff) |
MacGui: use HBJob tracks array in HBAudioController and HBSubtitlesController. Add a method to convert a HBJob to a hb_job_t.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6635 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBSubtitlesController.m')
-rw-r--r-- | macosx/HBSubtitlesController.m | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/macosx/HBSubtitlesController.m b/macosx/HBSubtitlesController.m index 9b4337594..5c0ab5322 100644 --- a/macosx/HBSubtitlesController.m +++ b/macosx/HBSubtitlesController.m @@ -43,8 +43,8 @@ NSString *keySubTrackLanguageIndex = @"keySubTrackLanguageIndex"; @property (assign) IBOutlet NSButton *reloadDefaults; // Subtitles arrays -@property (nonatomic, readonly) NSMutableArray *subtitleArray; -@property (nonatomic, readonly) NSMutableArray *subtitleSourceArray; +@property (nonatomic, readwrite) NSMutableArray *subtitleArray; +@property (nonatomic, readwrite) NSMutableArray *subtitleSourceArray; @property (nonatomic, readwrite, retain) NSString *foreignAudioSearchTrackName; @property (nonatomic, readwrite) int container; @@ -111,6 +111,7 @@ NSString *keySubTrackLanguageIndex = @"keySubTrackLanguageIndex"; if (job) { + self.subtitleArray = job.subtitlesTracks; self.settings = job.subtitlesDefaults; hb_title_t *title = job.title.hb_title; |