mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-03 12:45:49 +00:00
unify encodng param creation
This commit is contained in:
1 parent
59ac045c6b
commit
38e05b11e2
13 files changed
+180
-295
No files matched your search
@@ -76,7 +76,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
|
||||
await AcquireResources(encodingJob, cancellationToken).ConfigureAwait(false);
|
||||
|
||||
var commandLineArgs = await GetCommandLineArguments(encodingJob).ConfigureAwait(false);
|
||||
var commandLineArgs = GetCommandLineArguments(encodingJob);
|
||||
|
||||
var process = ProcessFactory.Create(new ProcessOptions
|
||||
{
|
||||
@@ -265,7 +265,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
||||
return ConfigurationManager.GetConfiguration<EncodingOptions>("encoding");
|
||||
}
|
||||
|
||||
protected abstract Task<string> GetCommandLineArguments(EncodingJob job);
|
||||
protected abstract string GetCommandLineArguments(EncodingJob job);
|
||||
|
||||
private string GetOutputFilePath(EncodingJob state)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user