summaryrefslogtreecommitdiffstats
path: root/macosx/Controller.m
diff options
context:
space:
mode:
Diffstat (limited to 'macosx/Controller.m')
-rw-r--r--macosx/Controller.m14
1 files changed, 12 insertions, 2 deletions
diff --git a/macosx/Controller.m b/macosx/Controller.m
index 7a1aa1c58..0a6322bbd 100644
--- a/macosx/Controller.m
+++ b/macosx/Controller.m
@@ -4803,9 +4803,19 @@ the user is using "Custom" settings by determining the sender*/
[fAdvancedOptions setHidden:NO];
[self autoSetM4vExtension: sender];
}
- else // we are FFmpeg (lavc)
+ else // we are FFmpeg (lavc) or Theora
{
- [fAdvancedOptions setHidden:YES];
+ [fAdvancedOptions setHidden:YES];
+
+ // We Are Lavc
+ if ([[fVidEncoderPopUp selectedItem] tag] & HB_VCODEC_FFMPEG_MASK )
+ {
+ [fAdvancedOptions setLavcOptsEnabled:YES];
+ }
+ else /// We are Theora
+ {
+ [fAdvancedOptions setLavcOptsEnabled:NO];
+ }
}