Enable hardware Trickplay processing pipeline for VideoToolbox (#11510)

This commit is contained in:
gnattu
2024-07-18 01:50:32 +08:00
committed by GitHub
parent 8851ace543
commit 5262439300
3 changed files with 51 additions and 2 deletions

View File

@@ -120,7 +120,8 @@ namespace MediaBrowser.Controller.MediaEncoding
private static readonly Dictionary<string, string> _mjpegCodecMap = new(StringComparer.OrdinalIgnoreCase)
{
{ "vaapi", _defaultMjpegEncoder + "_vaapi" },
{ "qsv", _defaultMjpegEncoder + "_qsv" }
{ "qsv", _defaultMjpegEncoder + "_qsv" },
{ "videotoolbox", _defaultMjpegEncoder + "_videotoolbox" }
};
public static readonly string[] LosslessAudioCodecs = new string[]