diff options
| author | Luke <luke.pulverenti@gmail.com> | 2017-03-15 15:57:48 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-03-15 15:57:48 -0400 |
| commit | 8b20e507c566cf59df04dac93325495c4b9181bb (patch) | |
| tree | eff068746a86d59cffd1ddad35fd0cc4aef5f212 /MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs | |
| parent | 27fb3980017c67fa2ba7a394ec5fc0ef08d7b382 (diff) | |
| parent | ce1ed2bea7492a4e6c4dd26e1a8d73aa65a88236 (diff) | |
Merge pull request #2528 from MediaBrowser/dev
update hls to support mpeg2video
Diffstat (limited to 'MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs')
| -rw-r--r-- | MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs b/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs index 4bb180d4b..6baf87a04 100644 --- a/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs +++ b/MediaBrowser.Controller/MediaEncoding/EncodingJobOptions.cs @@ -46,7 +46,7 @@ namespace MediaBrowser.Controller.MediaEncoding AudioBitRate = info.AudioBitrate; AudioSampleRate = info.TargetAudioSampleRate; DeviceProfile = deviceProfile; - VideoCodec = info.VideoCodec; + VideoCodec = info.TargetVideoCodec; VideoBitRate = info.VideoBitrate; AudioStreamIndex = info.AudioStreamIndex; MaxRefFrames = info.MaxRefFrames; @@ -185,6 +185,8 @@ namespace MediaBrowser.Controller.MediaEncoding [ApiMember(Name = "MaxVideoBitDepth", Description = "Optional.", IsRequired = false, DataType = "int", ParameterType = "query", Verb = "GET")] public int? MaxVideoBitDepth { get; set; } public bool RequireAvc { get; set; } + public bool DeInterlace { get; set; } + public bool RequireNonAnamorphic { get; set; } public int? TranscodingMaxAudioChannels { get; set; } public int? CpuCoreLimit { get; set; } public string OutputContainer { get; set; } |
