Merge pull request #3113 from Artiume/patch-1
Fix Progressive and Interlaced Stream capitalization
This commit is contained in:
commit
8921c7a5bf
|
@ -197,34 +197,34 @@ namespace MediaBrowser.Model.Entities
|
|||
{
|
||||
if (i.IsInterlaced)
|
||||
{
|
||||
return "1440I";
|
||||
return "1440i";
|
||||
}
|
||||
return "1440P";
|
||||
return "1440p";
|
||||
}
|
||||
if (width >= 1900 || height >= 1000)
|
||||
{
|
||||
if (i.IsInterlaced)
|
||||
{
|
||||
return "1080I";
|
||||
return "1080i";
|
||||
}
|
||||
return "1080P";
|
||||
return "1080p";
|
||||
}
|
||||
if (width >= 1260 || height >= 700)
|
||||
{
|
||||
if (i.IsInterlaced)
|
||||
{
|
||||
return "720I";
|
||||
return "720i";
|
||||
}
|
||||
return "720P";
|
||||
return "720p";
|
||||
}
|
||||
if (width >= 700 || height >= 440)
|
||||
{
|
||||
|
||||
if (i.IsInterlaced)
|
||||
{
|
||||
return "480I";
|
||||
return "480i";
|
||||
}
|
||||
return "480P";
|
||||
return "480p";
|
||||
}
|
||||
|
||||
return "SD";
|
||||
|
|
Loading…
Reference in New Issue
Block a user