Преглед изворни кода

Merge pull request #3113 from Artiume/patch-1

Fix Progressive and Interlaced Stream capitalization
dkanada пре 5 година
родитељ
комит
8921c7a5bf
1 измењених фајлова са 8 додато и 8 уклоњено
  1. 8 8
      MediaBrowser.Model/Entities/MediaStream.cs

+ 8 - 8
MediaBrowser.Model/Entities/MediaStream.cs

@@ -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";