The Free Software Media System - Server Backend & API
For now, always encode mp4
LukePulverenti Luke Pulverenti luke pulverenti3e33822d1adc
diff --git a/MediaBrowser.Api/HttpHandlers/VideoHandler.cs b/MediaBrowser.Api/HttpHandlers/VideoHandler.csindex 18060fcb0a..4e2c6b0da4 100644--- a/MediaBrowser.Api/HttpHandlers/VideoHandler.cs+++ b/MediaBrowser.Api/HttpHandlers/VideoHandler.cs@@ -28,7 +28,7 @@ namespace MediaBrowser.Api.HttpHandlers// For now we won't allow these to pass through.// 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;}