diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-03-31 15:52:18 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-31 15:52:18 -0400 |
| commit | 2b7c33e61727a62805c8f15f8dbace658985c002 (patch) | |
| tree | a86b01ee11c734d24070d75d0d432b3c03d2fa4c /MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs | |
| parent | bfb177f8b64f611b8fb2376d86799085f3ef9204 (diff) | |
| parent | 165a209bdf1c3f95bf01cda8635376616397d321 (diff) | |
Merge pull request #2560 from MediaBrowser/dev
Dev
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs index 73be78dc9..f044db3d0 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs @@ -72,6 +72,9 @@ namespace MediaBrowser.Controller.MediaEncoding [ApiMember(Name = "EnableAutoStreamCopy", Description = "Whether or not to allow automatic stream copy if requested values match the original source. Defaults to true.", IsRequired = false, DataType = "bool", ParameterType = "query", Verb = "GET")] public bool EnableAutoStreamCopy { get; set; } + public bool AllowVideoStreamCopy { get; set; } + public bool AllowAudioStreamCopy { get; set; } + /// <summary> /// Gets or sets the audio sample rate. /// </summary> @@ -218,6 +221,8 @@ namespace MediaBrowser.Controller.MediaEncoding public BaseEncodingJobOptions() { EnableAutoStreamCopy = true; + AllowVideoStreamCopy = true; + AllowAudioStreamCopy = true; Context = EncodingContext.Streaming; } } |
