Apply suggestions from code review

Co-authored-by: Claus Vium <cvium@users.noreply.github.com>
pull/5586/head
Nyanmisaka 4 years ago committed by GitHub
parent fcb070abf7
commit a6bc191607
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -596,8 +596,7 @@ namespace MediaBrowser.Controller.MediaEncoding
&& string.Equals(encodingOptions.HardwareAccelerationType, "nvenc", StringComparison.OrdinalIgnoreCase)
&& isNvdecDecoder)
{
arg.Append("-hwaccel_output_format cuda ")
.Append("-autorotate 0 ");
arg.Append("-hwaccel_output_format cuda -autorotate 0 ");
}
if (state.IsVideoRequest

Loading…
Cancel
Save