summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBVideoController.m11
1 files changed, 9 insertions, 2 deletions
diff --git a/macosx/HBVideoController.m b/macosx/HBVideoController.m
index 325145969..57720172f 100644
--- a/macosx/HBVideoController.m
+++ b/macosx/HBVideoController.m
@@ -449,8 +449,15 @@ NSString *HBVideoEncoderChangedNotification = @"HBVideoEncoderChangedNotificatio
}
else
{
- // Apply the lavcOption
- self.lavcOptions = preset[@"VideoOptionExtra"];
+ if (preset[@"lavcOption"])
+ {
+ // Load the old format
+ self.lavcOptions = preset[@"lavcOption"];
+ }
+ else
+ {
+ self.lavcOptions = preset[@"VideoOptionExtra"];
+ }
}
int qualityType = [preset[@"VideoQualityType"] intValue] - 1;