aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs
diff options
context:
space:
mode:
authorLuke Pulverenti <luke.pulverenti@gmail.com>2016-08-23 12:31:16 -0400
committerLuke Pulverenti <luke.pulverenti@gmail.com>2016-08-23 12:31:16 -0400
commit2e65c32ededcfe67dbfb345270b55e1f3d816edc (patch)
tree032732eb3b14ec67fee7b34027201715442b4048 /MediaBrowser.Server.Mono/Native/BaseMonoApp.cs
parentf57a0e6b81b34a01ce3975b3652f245edae41f10 (diff)
add vaapi support
Diffstat (limited to 'MediaBrowser.Server.Mono/Native/BaseMonoApp.cs')
-rw-r--r--MediaBrowser.Server.Mono/Native/BaseMonoApp.cs29
1 files changed, 4 insertions, 25 deletions
diff --git a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs
index 4011fa3de..faf3ba37e 100644
--- a/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs
+++ b/MediaBrowser.Server.Mono/Native/BaseMonoApp.cs
@@ -132,7 +132,7 @@ namespace MediaBrowser.Server.Mono.Native
{
get
{
- return Environment.OperatingSystem != Startup.Common.OperatingSystem.Osx;
+ return Environment.OperatingSystem != Startup.Common.OperatingSystem.Osx;
}
}
@@ -187,7 +187,7 @@ namespace MediaBrowser.Server.Mono.Native
{
info.SystemArchitecture = Architecture.X64;
}
- else
+ else
{
info.SystemArchitecture = Architecture.X86;
}
@@ -273,32 +273,11 @@ namespace MediaBrowser.Server.Mono.Native
break;
}
- info.DownloadUrls = GetDownloadUrls(environment);
+ // No version available - user requirement
+ info.DownloadUrls = new string[] { };
return info;
}
-
- private static string[] GetDownloadUrls(NativeEnvironment environment)
- {
- switch (environment.OperatingSystem)
- {
- case OperatingSystem.Linux:
-
- switch (environment.SystemArchitecture)
- {
- case Architecture.X64:
- return new[]
- {
- "https://github.com/MediaBrowser/Emby.Resources/raw/master/ffmpeg/linux/ffmpeg-git-20160215-64bit-static.7z"
- };
- }
- break;
- }
-
- // No version available
- return new string[] { };
- }
-
}
public class NullPowerManagement : IPowerManagement