aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/Sync/SyncHelper.cs
diff options
context:
space:
mode:
authorLuke <luke.pulverenti@gmail.com>2017-02-23 14:14:16 -0500
committerGitHub <noreply@github.com>2017-02-23 14:14:16 -0500
commit90853a3ab1e080a02520f6cb135a14e8b2122da3 (patch)
treeaa309fd1147309b15e9ddf7d9d25bde3000ed419 /Emby.Server.Implementations/Sync/SyncHelper.cs
parent8a8bf99550b8d494eb2592a6aa83f8f9ee90b71d (diff)
parent592c1a7f248b983182e05d8df14fe4a33a4aefa8 (diff)
Merge pull request #2484 from MediaBrowser/dev
Dev
Diffstat (limited to 'Emby.Server.Implementations/Sync/SyncHelper.cs')
-rw-r--r--Emby.Server.Implementations/Sync/SyncHelper.cs24
1 files changed, 0 insertions, 24 deletions
diff --git a/Emby.Server.Implementations/Sync/SyncHelper.cs b/Emby.Server.Implementations/Sync/SyncHelper.cs
deleted file mode 100644
index 7fe703796..000000000
--- a/Emby.Server.Implementations/Sync/SyncHelper.cs
+++ /dev/null
@@ -1,24 +0,0 @@
-using System;
-
-namespace Emby.Server.Implementations.Sync
-{
- public class SyncHelper
- {
- public static long? AdjustBitrate(long? profileBitrate, string quality)
- {
- if (profileBitrate.HasValue)
- {
- if (string.Equals(quality, "medium", StringComparison.OrdinalIgnoreCase))
- {
- profileBitrate = Math.Min(profileBitrate.Value, 4000000);
- }
- else if (string.Equals(quality, "low", StringComparison.OrdinalIgnoreCase))
- {
- profileBitrate = Math.Min(profileBitrate.Value, 1500000);
- }
- }
-
- return profileBitrate;
- }
- }
-}