aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.MediaEncoding/Encoder/ApplePlatformHelper.cs
diff options
context:
space:
mode:
Diffstat (limited to 'MediaBrowser.MediaEncoding/Encoder/ApplePlatformHelper.cs')
-rw-r--r--MediaBrowser.MediaEncoding/Encoder/ApplePlatformHelper.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/MediaBrowser.MediaEncoding/Encoder/ApplePlatformHelper.cs b/MediaBrowser.MediaEncoding/Encoder/ApplePlatformHelper.cs
index 76fc5f695..a8ff58b09 100644
--- a/MediaBrowser.MediaEncoding/Encoder/ApplePlatformHelper.cs
+++ b/MediaBrowser.MediaEncoding/Encoder/ApplePlatformHelper.cs
@@ -3,6 +3,7 @@
using System;
using System.Linq;
using System.Runtime.InteropServices;
+using System.Runtime.Versioning;
using Microsoft.Extensions.Logging;
namespace MediaBrowser.MediaEncoding.Encoder;
@@ -10,6 +11,7 @@ namespace MediaBrowser.MediaEncoding.Encoder;
/// <summary>
/// Helper class for Apple platform specific operations.
/// </summary>
+[SupportedOSPlatform("macos")]
public static class ApplePlatformHelper
{
private static readonly string[] _av1DecodeBlacklistedCpuClass = ["M1", "M2"];