EncodingOptions.cs 682 B

12345678910111213141516171819202122
  1. 
  2. namespace MediaBrowser.Model.Configuration
  3. {
  4. public class EncodingOptions
  5. {
  6. public int EncodingThreadCount { get; set; }
  7. public string TranscodingTempPath { get; set; }
  8. public double DownMixAudioBoost { get; set; }
  9. public bool EnableDebugLogging { get; set; }
  10. public bool EnableThrottling { get; set; }
  11. public int ThrottleDelaySeconds { get; set; }
  12. public string HardwareAccelerationType { get; set; }
  13. public EncodingOptions()
  14. {
  15. DownMixAudioBoost = 2;
  16. EnableThrottling = true;
  17. ThrottleDelaySeconds = 180;
  18. EncodingThreadCount = -1;
  19. }
  20. }
  21. }