Merge pull request #3113 from Artiume/patch-1

Fix Progressive and Interlaced Stream capitalization
This commit is contained in:
dkanada 2020-05-16 21:56:25 +09:00 committed by GitHub
commit 8921c7a5bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -197,34 +197,34 @@ namespace MediaBrowser.Model.Entities
{ {
if (i.IsInterlaced) if (i.IsInterlaced)
{ {
return "1440I"; return "1440i";
} }
return "1440P"; return "1440p";
} }
if (width >= 1900 || height >= 1000) if (width >= 1900 || height >= 1000)
{ {
if (i.IsInterlaced) if (i.IsInterlaced)
{ {
return "1080I"; return "1080i";
} }
return "1080P"; return "1080p";
} }
if (width >= 1260 || height >= 700) if (width >= 1260 || height >= 700)
{ {
if (i.IsInterlaced) if (i.IsInterlaced)
{ {
return "720I"; return "720i";
} }
return "720P"; return "720p";
} }
if (width >= 700 || height >= 440) if (width >= 700 || height >= 440)
{ {
if (i.IsInterlaced) if (i.IsInterlaced)
{ {
return "480I"; return "480i";
} }
return "480P"; return "480p";
} }
return "SD"; return "SD";