Merge pull request #3113 from Artiume/patch-1

Fix Progressive and Interlaced Stream capitalization
pull/3133/head
dkanada 4 years ago committed by GitHub
commit 8921c7a5bf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save