Apply suggestions from code review

Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
This commit is contained in:
NyanmisakaandShadowghost authored and GitHub committed 2022-04-05 00:02:13 +08:00
1 parent 1946414e14
commit e0b035e34e
1 file changed
+2 -2
@@ -3381,7 +3381,7 @@ namespace MediaBrowser.Controller.MediaEncoding
}
// qsv requires a fixed pool size.
// default to 64 otherwise if will fails on certain iGPU.
// 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);
@@ -3590,7 +3590,7 @@ namespace MediaBrowser.Controller.MediaEncoding
}
// qsv requires a fixed pool size.
// default to 64 otherwise if will fails on certain iGPU.
// 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);