aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-01 23:46:10 -0500
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-03-01 23:46:10 -0500
commite52eb2219b1410fa2fe2343cc4f1e26fcc0af98b (patch)
treef34a5e0d86b158007299ae653d270d2231d5cc49
parentb2d922e305cb4c790585e404adcbf7c7465e02cb (diff)
use shared usersettings
-rw-r--r--MediaBrowser.Server.Implementations/Sync/SyncHelper.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/MediaBrowser.Server.Implementations/Sync/SyncHelper.cs b/MediaBrowser.Server.Implementations/Sync/SyncHelper.cs
index b6242950f..fb4e0c6be 100644
--- a/MediaBrowser.Server.Implementations/Sync/SyncHelper.cs
+++ b/MediaBrowser.Server.Implementations/Sync/SyncHelper.cs
@@ -10,11 +10,11 @@ namespace MediaBrowser.Server.Implementations.Sync
{
if (string.Equals(quality, "medium", StringComparison.OrdinalIgnoreCase))
{
- profileBitrate = Math.Min(Convert.ToInt32(profileBitrate.Value * .7), 4000000);
+ profileBitrate = Math.Min(profileBitrate.Value, 4000000);
}
else if (string.Equals(quality, "low", StringComparison.OrdinalIgnoreCase))
{
- profileBitrate = Math.Min(Convert.ToInt32(profileBitrate.Value * .5), 1500000);
+ profileBitrate = Math.Min(profileBitrate.Value, 1500000);
}
}