summaryrefslogtreecommitdiffstats
path: root/macosx/HBAdvancedController.m
diff options
context:
space:
mode:
authordynaflash <[email protected]>2012-02-19 22:14:57 +0000
committerdynaflash <[email protected]>2012-02-19 22:14:57 +0000
commitdbdaabaa73fa1a371aeba3ecd802bb5e003e08bf (patch)
treef3b23a15c223e4836d8c93f897a247c59da7b8da /macosx/HBAdvancedController.m
parent68395c181bbf629c33607829aa971cf12c19c29d (diff)
MacGui: Fix an issue where lavc options were shown and passed when Theora was chosen.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@4457 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAdvancedController.m')
-rw-r--r--macosx/HBAdvancedController.m15
1 files changed, 15 insertions, 0 deletions
diff --git a/macosx/HBAdvancedController.m b/macosx/HBAdvancedController.m
index 55da0c06b..98129613c 100644
--- a/macosx/HBAdvancedController.m
+++ b/macosx/HBAdvancedController.m
@@ -67,6 +67,21 @@
return;
}
+- (void) setLavcOptsEnabled: (BOOL) lavc
+{
+ if(lavc)
+ {
+ [fDisplayLavcOptions setEnabled:YES];
+ [fDisplayLavcOptionsLabel setStringValue: [NSString stringWithFormat:@"Current FFmpeg Advanced Option String:"]];
+ }
+ else
+ {
+ [fDisplayLavcOptions setEnabled:NO];
+ [fDisplayLavcOptionsLabel setStringValue: [NSString stringWithFormat:@"Handbrake does not currently support Theora Options"]];
+ }
+ return;
+}
+
- (void) enableUI: (bool) b
{
unsigned i;