Apply suggestions from code review

Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
This commit is contained in:
Nyanmisaka 2022-04-05 00:02:13 +08:00 committed by GitHub
parent 1946414e14
commit e0b035e34e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);