Stream custom live channels using your own media
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

19 lines
451 B

using System.Runtime.InteropServices;
using ErsatzTV.FFmpeg.Runtime;
namespace ErsatzTV.FFmpeg.Capabilities.Qsv;
public static class QsvInitModes
{
public static IEnumerable<QsvInitMode> GetModesToTest(IRuntimeInfo runtimeInfo)
{
yield return QsvInitMode.None;
if (runtimeInfo.IsOSPlatform(OSPlatform.Windows))
{
yield return QsvInitMode.D3d11Va;
}
yield return QsvInitMode.Qsv;
}
}