mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-04-24 14:08:44 -04:00
Add resolution text for 384 sized video
This commit is contained in:
parent
5bcab0f0f8
commit
30f6263806
2 changed files with 3 additions and 1 deletions
|
@ -594,6 +594,8 @@ namespace MediaBrowser.Model.Entities
|
|||
<= 426 when Height <= 240 => IsInterlaced ? "240i" : "240p",
|
||||
// 640x360 (16:9 square pixel format)
|
||||
<= 640 when Height <= 360 => IsInterlaced ? "360i" : "360p",
|
||||
// 682x384 (16:9 square pixel format)
|
||||
<= 682 when Height <= 384 => IsInterlaced ? "384i" : "384p",
|
||||
// 854x480 (16:9 square pixel format)
|
||||
<= 854 when Height <= 480 => IsInterlaced ? "480i" : "480p",
|
||||
// 960x544 (16:9 square pixel format)
|
||||
|
|
|
@ -127,7 +127,7 @@ namespace Jellyfin.Model.Tests.Entities
|
|||
[InlineData(2560, 1080, true, "1080i")]
|
||||
[InlineData(4096, 3072, false, "4K")]
|
||||
[InlineData(8192, 6144, false, "8K")]
|
||||
[InlineData(512, 384, false, "480p")]
|
||||
[InlineData(512, 384, false, "384p")]
|
||||
[InlineData(576, 336, false, "360p")]
|
||||
[InlineData(576, 336, true, "360i")]
|
||||
[InlineData(624, 352, false, "360p")]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue