From f540acfe2016b618dcd9296d6f8ef9cb7b0d017f Mon Sep 17 00:00:00 2001 From: LukePulverenti Luke Pulverenti luke pulverenti Date: Sun, 16 Sep 2012 11:11:23 -0400 Subject: [PATCH] Removed disabling of video pass-through --- MediaBrowser.Api/HttpHandlers/VideoHandler.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/MediaBrowser.Api/HttpHandlers/VideoHandler.cs b/MediaBrowser.Api/HttpHandlers/VideoHandler.cs index 57942956e..9d52136f0 100644 --- a/MediaBrowser.Api/HttpHandlers/VideoHandler.cs +++ b/MediaBrowser.Api/HttpHandlers/VideoHandler.cs @@ -43,15 +43,6 @@ namespace MediaBrowser.Api.HttpHandlers /// protected override bool RequiresConversion() { - string currentFormat = Path.GetExtension(LibraryItem.Path).Replace(".", string.Empty); - - // For now we won't allow these to pass through. - // Later we'll add some intelligence to allow it when possible - if (currentFormat.Equals("mp4", StringComparison.OrdinalIgnoreCase) || currentFormat.Equals("mkv", StringComparison.OrdinalIgnoreCase) || currentFormat.Equals("m4v", StringComparison.OrdinalIgnoreCase)) - { - return true; - } - if (base.RequiresConversion()) { return true;