Skip to content

Commit

Permalink
Added hvc1 tag to default config.
Browse files Browse the repository at this point in the history
  • Loading branch information
kmcclive committed Mar 6, 2021
1 parent b8d6a3a commit ebd29f7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 11 deletions.
18 changes: 8 additions & 10 deletions Tricycle.UI.macOS/AppDelegate.cs
Original file line number Diff line number Diff line change
Expand Up @@ -89,16 +89,14 @@ public override void DidFinishLaunching(NSNotification notification)
var processRunner = new ProcessRunner(processCreator);
var fileSystem = new FileSystem();
var jsonSerializer = new JsonSerializer();
var ffmpegConfigManager =
new FileConfigManager<FFmpegConfig>(fileSystem,
jsonSerializer,
Path.Combine(defaultConfigPath, FFMPEG_CONFIG_NAME),
Path.Combine(userConfigPath, FFMPEG_CONFIG_NAME));
var tricycleConfigManager =
new FileConfigManager<TricycleConfig>(fileSystem,
jsonSerializer,
Path.Combine(defaultConfigPath, TRICYCLE_CONFIG_NAME),
Path.Combine(userConfigPath, TRICYCLE_CONFIG_NAME));
var ffmpegConfigManager = new FFmpegConfigManager(fileSystem,
jsonSerializer,
Path.Combine(defaultConfigPath, FFMPEG_CONFIG_NAME),
Path.Combine(userConfigPath, FFMPEG_CONFIG_NAME));
var tricycleConfigManager = new TricycleConfigManager(fileSystem,
jsonSerializer,
Path.Combine(defaultConfigPath, TRICYCLE_CONFIG_NAME),
Path.Combine(userConfigPath, TRICYCLE_CONFIG_NAME));
_templateManager =
new FileConfigManager<Dictionary<string, JobTemplate>>(
fileSystem,
Expand Down
3 changes: 2 additions & 1 deletion Tricycle.UI.macOS/Resources/Config/tricycle.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
"min": 22.0,
"max": 18.0
},
"qualitySteps": 4
"qualitySteps": 4,
"tag": "hvc1"
}
},
"sizePresets": {
Expand Down

0 comments on commit ebd29f7

Please sign in to comment.