mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-11-10 16:16:09 +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
@@ -14,7 +14,6 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
public string AudioCodec { get; set; }
|
||||
|
||||
public DeviceProfile DeviceProfile { get; set; }
|
||||
public EncodingContext Context { get; set; }
|
||||
|
||||
public bool ReadInputAtNativeFramerate { get; set; }
|
||||
|
||||
@@ -214,9 +213,12 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||
[ApiMember(Name = "VideoStreamIndex", Description = "Optional. The index of the video stream to use. If omitted the first video stream will be used.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")]
|
||||
public int? VideoStreamIndex { get; set; }
|
||||
|
||||
public EncodingContext Context { get; set; }
|
||||
|
||||
public BaseEncodingJobOptions()
|
||||
{
|
||||
EnableAutoStreamCopy = true;
|
||||
Context = EncodingContext.Streaming;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user