diff options
author | dynaflash <[email protected]> | 2012-02-20 15:22:44 +0000 |
---|---|---|
committer | dynaflash <[email protected]> | 2012-02-20 15:22:44 +0000 |
commit | 635041d263d703e46a6c3752ccd880a1444c83c1 (patch) | |
tree | 59a628866cb65d99c8f428fa40bf5cf97dd93671 /macosx/HBAdvancedController.m | |
parent | a28665964af350e2549ed9c3532dfbe6fa82dd46 (diff) |
MacGui: Advanced Options Cleanup window when Theora is chosen.
- Hide the ffmpeg options box and label
- Show centered text saying Theora has no advanced options.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4459 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAdvancedController.m')
-rw-r--r-- | macosx/HBAdvancedController.m | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m index 92735d0df..0a683b767 100644 --- a/macosx/HBAdvancedController.m +++ b/macosx/HBAdvancedController.m @@ -71,13 +71,15 @@ { if(lavc) { - [fDisplayLavcOptions setEnabled:YES]; - [fDisplayLavcOptionsLabel setStringValue: [NSString stringWithFormat:@"Current FFmpeg Advanced Option String:"]]; + [fDisplayLavcOptions setHidden:NO]; + [fDisplayLavcOptionsLabel setHidden:NO]; + [fDisplayTheoraOptionsLabel setHidden:YES]; } else { - [fDisplayLavcOptions setEnabled:NO]; - [fDisplayLavcOptionsLabel setStringValue: [NSString stringWithFormat:@"HandBrake does not currently support Theora Options"]]; + [fDisplayLavcOptions setHidden:YES]; + [fDisplayLavcOptionsLabel setHidden:YES]; + [fDisplayTheoraOptionsLabel setHidden:NO]; } return; } |