Przeglądaj źródła

For now, always encode mp4

LukePulverenti Luke Pulverenti luke pulverenti 13 lat temu
rodzic
commit
3e33822d1a
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      MediaBrowser.Api/HttpHandlers/VideoHandler.cs

+ 1 - 1
MediaBrowser.Api/HttpHandlers/VideoHandler.cs

@@ -28,7 +28,7 @@ namespace MediaBrowser.Api.HttpHandlers
 
 
             // For now we won't allow these to pass through.
             // For now we won't allow these to pass through.
             // Later we'll add some intelligence to allow it when possible
             // Later we'll add some intelligence to allow it when possible
-            if (currentFormat.Equals("mkv", StringComparison.OrdinalIgnoreCase) || currentFormat.Equals("m4v", StringComparison.OrdinalIgnoreCase))
+            if (currentFormat.Equals("mp4", StringComparison.OrdinalIgnoreCase) || currentFormat.Equals("mkv", StringComparison.OrdinalIgnoreCase) || currentFormat.Equals("m4v", StringComparison.OrdinalIgnoreCase))
             {
             {
                 return true;
                 return true;
             }
             }