diff options
| author | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-16 11:11:23 -0400 |
|---|---|---|
| committer | LukePulverenti Luke Pulverenti luke pulverenti <LukePulverenti Luke Pulverenti luke.pulverenti@gmail.com> | 2012-09-16 11:11:23 -0400 |
| commit | f540acfe2016b618dcd9296d6f8ef9cb7b0d017f (patch) | |
| tree | 1e424204098c30ca1502775ed0bfe37dc41caa8c /MediaBrowser.Api/HttpHandlers/VideoHandler.cs | |
| parent | 38235bc53e626efe6e8c0b0b23e909d981ddbf79 (diff) | |
Removed disabling of video pass-through
Diffstat (limited to 'MediaBrowser.Api/HttpHandlers/VideoHandler.cs')
| -rw-r--r-- | MediaBrowser.Api/HttpHandlers/VideoHandler.cs | 9 |
1 files changed, 0 insertions, 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 /// </summary>
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;
|
