diff options
author | dynaflash <[email protected]> | 2012-02-09 21:59:07 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2012-02-09 21:59:07 +0000 |
commit | 46808404eaf53aba1cb754bac733dce43bf4158c (patch) | |
tree | bddabd237384910bd2b37f732b7d4e2bd16cf07c /macosx/HBAdvancedController.m | |
parent | 3888969d2786ef0eecc8a2a206672b6f0e754e2e (diff) |
MacGui: Add ffmpeg (lavc) advanced options text box to the advanced panel.
- Fix a couple other traps for x264 opts as well.
- Add lavcOption Key to the presets as per the LinGui to maintain preset parity.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4443 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAdvancedController.m')
-rw-r--r-- | macosx/HBAdvancedController.m | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m index b8bb553c2..55da0c06b 100644 --- a/macosx/HBAdvancedController.m +++ b/macosx/HBAdvancedController.m @@ -38,23 +38,31 @@ return [fDisplayX264Options stringValue]; } +- (NSString *) optionsStringLavc +{ + return [fDisplayLavcOptions stringValue]; +} + - (void) setOptions: (NSString *)string { [fDisplayX264Options setStringValue:string]; [self X264AdvancedOptionsSet:nil]; } +- (void) setLavcOptions: (NSString *)string +{ + [fDisplayLavcOptions setStringValue:string]; +} + - (void) setHidden: (BOOL) hide { if(hide) { [fOptionsBox setContentView:fEmptyView]; - [fX264optViewTitleLabel setStringValue: @"Only Used With The x264 (H.264) Codec"]; } else { [fOptionsBox setContentView:fX264optView]; - [fX264optViewTitleLabel setStringValue: @""]; } return; } |