aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs')
-rw-r--r--Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs11
1 files changed, 8 insertions, 3 deletions
diff --git a/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs b/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs
index 329f5b8a4..220c503d1 100644
--- a/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs
+++ b/Emby.Server.Implementations/LiveTv/LiveTvMediaSourceProvider.cs
@@ -183,19 +183,24 @@ namespace Emby.Server.Implementations.LiveTv
{
var width = videoStream.Width ?? 1920;
- if (width >= 1900)
+ if (width >= 3000)
+ {
+ videoStream.BitRate = 25000000;
+ }
+
+ else if (width >= 1900)
{
videoStream.BitRate = 15000000;
}
- else if (width >= 1260)
+ else if (width >= 1200)
{
videoStream.BitRate = 4000000;
}
else if (width >= 700)
{
- videoStream.BitRate = 1000000;
+ videoStream.BitRate = 1500000;
}
}
}