summaryrefslogtreecommitdiffstats
path: root/macosx/HBAdvancedController.m
diff options
context:
space:
mode:
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;