summaryrefslogtreecommitdiffstats
path: root/macosx
diff options
context:
space:
mode:
Diffstat (limited to 'macosx')
-rw-r--r--macosx/HBVideoController.m10
1 files changed, 10 insertions, 0 deletions
diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m
index 9a6cb4b73..af2c6c0db 100644
--- a/macosx/HBVideoController.m
+++ b/macosx/HBVideoController.m
@@ -260,6 +260,13 @@ NSString *HBVideoEncoderChangedNotification = @"HBVideoEncoderChangedNotificatio
self.codec = hb_video_encoder_get_default(videoContainer);
[self videoEncoderPopUpChanged:nil];
}
+ else
+ {
+ self.codec = selectedVidEncoderTag;
+ }
+
+ [fVidEncoderPopUp selectItemWithTag:self.codec];
+
}
- (void)titleChanged:(NSNotification *)aNotification
@@ -439,6 +446,9 @@ NSString *HBVideoEncoderChangedNotification = @"HBVideoEncoderChangedNotificatio
}
}
+ // Apply the lavcOption
+ self.lavcOptions = preset[@"lavcOption"];
+
int qualityType = [preset[@"VideoQualityType"] intValue] - 1;
/* Note since the removal of Target Size encoding, the possible values for VideoQuality type are 0 - 1.
* Therefore any preset that uses the old 2 for Constant Quality would now use 1 since there is one less index