2
0
Эх сурвалжийг харах

Apply suggestions from code review

Co-authored-by: Shadowghost <Shadowghost@users.noreply.github.com>
Nyanmisaka 3 жил өмнө
parent
commit
e0b035e34e

+ 2 - 2
MediaBrowser.Controller/MediaEncoding/EncodingHelper.cs

@@ -3381,7 +3381,7 @@ namespace MediaBrowser.Controller.MediaEncoding
                     }
                     }
 
 
                     // qsv requires a fixed pool size.
                     // 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");
                     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);
@@ -3590,7 +3590,7 @@ namespace MediaBrowser.Controller.MediaEncoding
                     }
                     }
 
 
                     // qsv requires a fixed pool size.
                     // 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");
                     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);