For now, always encode mp4

This commit is contained in:
LukePulverenti Luke Pulverenti luke pulverenti 2012-08-12 22:22:34 -04:00
parent a05a947fcf
commit 3e33822d1a

View File

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