aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody Robibero <cody@robibe.ro>2022-04-04 16:05:50 -0600
committercrobibero <cody@robibe.ro>2022-04-07 12:54:58 -0400
commita2f1ec23cedd1238b809ec173c0af8e3255018a0 (patch)
tree6f8c92382c15f939028c2e705e7b171187370cf9
parent0d0a5c2edf97562f5d777ced3e6ec667b4cbc70c (diff)
Merge pull request #7557 from jellyfin/pgs-qsv-iris655
(cherry picked from commit 620625c4c12ad59c0c36ca9bc3f405242ee3d83d) Signed-off-by: crobibero <cody@robibe.ro>
-rw-r--r--MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs6
1 files changed, 4 insertions, 2 deletions
diff --git a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
index 633ba2d76..5030d55f6 100644
--- a/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
+++ b/MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs
@@ -3381,7 +3381,8 @@ namespace MediaBrowser.Controller.MediaEncoding
}
// qsv requires a fixed pool size.
- subFilters.Add("hwupload=extra_hw_frames=32");
+ // default to 64 otherwise it will fail on certain iGPU.
+ subFilters.Add("hwupload=extra_hw_frames=64");
var (overlayW, overlayH) = GetFixedOutputSize(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
var overlaySize = (overlayW.HasValue && overlayH.HasValue)
@@ -3589,7 +3590,8 @@ namespace MediaBrowser.Controller.MediaEncoding
}
// qsv requires a fixed pool size.
- subFilters.Add("hwupload=extra_hw_frames=32");
+ // default to 64 otherwise it will fail on certain iGPU.
+ subFilters.Add("hwupload=extra_hw_frames=64");
var (overlayW, overlayH) = GetFixedOutputSize(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
var overlaySize = (overlayW.HasValue && overlayH.HasValue)