Fix compatibility between TranscodingThrottler and FFmpeg 7.0 (#12374)

This commit is contained in:
Nyanmisaka
2024-08-05 10:00:57 +08:00
committed by GitHub
parent 7051a18be0
commit ee0094d889
5 changed files with 26 additions and 4 deletions

View File

@@ -193,7 +193,7 @@ namespace MediaBrowser.MediaEncoding.Encoder
_threads = EncodingHelper.GetNumberOfThreads(null, options, null);
_isPkeyPauseSupported = validator.CheckSupportedRuntimeKey("p pause transcoding");
_isPkeyPauseSupported = validator.CheckSupportedRuntimeKey("p pause transcoding", _ffmpegVersion);
// Check the Vaapi device vendor
if (OperatingSystem.IsLinux()