mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-09-07 11:57:55 +02:00
Fix PGS burn-in on certain iGPU such as Iris Plus 655
This commit is contained in:
parent
132c85e554
commit
1946414e14
1 changed files with 4 additions and 2 deletions
|
@ -3381,7 +3381,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
}
|
}
|
||||||
|
|
||||||
// qsv requires a fixed pool size.
|
// qsv requires a fixed pool size.
|
||||||
subFilters.Add("hwupload=extra_hw_frames=32");
|
// default to 64 otherwise if will fails on certain iGPU.
|
||||||
|
subFilters.Add("hwupload=extra_hw_frames=64");
|
||||||
|
|
||||||
var (overlayW, overlayH) = GetFixedOutputSize(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
|
var (overlayW, overlayH) = GetFixedOutputSize(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
|
||||||
var overlaySize = (overlayW.HasValue && overlayH.HasValue)
|
var overlaySize = (overlayW.HasValue && overlayH.HasValue)
|
||||||
|
@ -3589,7 +3590,8 @@ namespace MediaBrowser.Controller.MediaEncoding
|
||||||
}
|
}
|
||||||
|
|
||||||
// qsv requires a fixed pool size.
|
// qsv requires a fixed pool size.
|
||||||
subFilters.Add("hwupload=extra_hw_frames=32");
|
// default to 64 otherwise if will fails on certain iGPU.
|
||||||
|
subFilters.Add("hwupload=extra_hw_frames=64");
|
||||||
|
|
||||||
var (overlayW, overlayH) = GetFixedOutputSize(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
|
var (overlayW, overlayH) = GetFixedOutputSize(inW, inH, reqW, reqH, reqMaxW, reqMaxH);
|
||||||
var overlaySize = (overlayW.HasValue && overlayH.HasValue)
|
var overlaySize = (overlayW.HasValue && overlayH.HasValue)
|
||||||
|
|
Loading…
Reference in a new issue