mirror of
https://git.freebsd.org/ports.git
synced 2025-05-15 00:31:51 -04:00
This patch moves the jellyfin port to build from source using lang/dotnet. The only binary part is libskia, like it always has been. Building this one from source is not as easy and will be looked into later. PR: 279926 Reported by: michiel@vanbaak.eu (maintainer)
11 lines
722 B
C#
11 lines
722 B
C#
--- MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs.orig 2024-05-17 20:09:34 UTC
|
|
+++ MediaBrowser.MediaEncoding/Encoder/MediaEncoder.cs
|
|
@@ -198,7 +198,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
|
|
_isPkeyPauseSupported = validator.CheckSupportedRuntimeKey("p pause transcoding");
|
|
|
|
// Check the Vaapi device vendor
|
|
- if (OperatingSystem.IsLinux()
|
|
+ if ((OperatingSystem.IsLinux() || OperatingSystem.IsFreeBSD())
|
|
&& SupportsHwaccel("vaapi")
|
|
&& !string.IsNullOrEmpty(options.VaapiDevice)
|
|
&& string.Equals(options.HardwareAccelerationType, "vaapi", StringComparison.OrdinalIgnoreCase))
|